Package com.consol.citrus.xml.schema

Examples of com.consol.citrus.xml.schema.MultiResourceXsdSchema


        Map<String, MultiResourceXsdSchema> schemaCollections = beanDefinitionContext.getBeansOfType(MultiResourceXsdSchema.class);
       
        Assert.assertEquals(schemaCollections.size(), 1);
       
        // 1st schema repository
        MultiResourceXsdSchema schema = schemaCollections.get("schemaCollection1");
        Assert.assertNotNull(schema.getSchemas());
        Assert.assertEquals(schema.getSchemas().length, 2);
        Assert.assertEquals(schema.getSchemas()[0].getClass(), ClassPathResource.class);
        Assert.assertEquals(schema.getSchemas()[1].getClass(), ClassPathResource.class);
    }
View Full Code Here

TOP

Related Classes of com.consol.citrus.xml.schema.MultiResourceXsdSchema

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.