@Test
public void testLoadMultipleSchemas() throws Exception {

	Resource envelope = new ClassPathResource("envelope.xsd", getClass());
	Resource encoding = new ClassPathResource("encoding.xsd", getClass());
	Schema schema = SchemaLoaderUtils.loadSchema(new Resource[] { envelope, encoding },
			XMLConstants.W3C_XML_SCHEMA_NS_URI);
	Assert.assertNotNull("No schema returned", schema);
	Assert.assertFalse("Resource not closed", envelope.isOpen());
	Assert.assertFalse("Resource not closed", encoding.isOpen());
}