Package com.consol.citrus.validation.context

Examples of com.consol.citrus.validation.context.ValidationContext


        Assert.assertEquals(action.getFaultDetails().size(), 1L);
        Assert.assertEquals(action.getFaultDetails().get(0), "FaultDetail");
       
        Assert.assertEquals(((SoapFaultDetailValidationContext)action.getValidationContext()).getValidationContexts().size(), 1L);
       
        ValidationContext xmlValidationContext = ((SoapFaultDetailValidationContext)action.getValidationContext()).getValidationContexts().get(0);
        Assert.assertTrue(xmlValidationContext instanceof XmlMessageValidationContext);
        Assert.assertTrue(((XmlMessageValidationContext)xmlValidationContext).isSchemaValidationEnabled());
        Assert.assertEquals(((XmlMessageValidationContext)xmlValidationContext).getSchemaRepository(), "fooSchemaRepository");
        Assert.assertNull(((XmlMessageValidationContext)xmlValidationContext).getSchema());
       
View Full Code Here

TOP

Related Classes of com.consol.citrus.validation.context.ValidationContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.