SchemaCatalog catalog = SchemaCatalog.build(getClass()
.getResource("/test-data/mappedPolygons.oasis.xml"));
AppSchemaConfiguration configuration = new AppSchemaConfiguration(
"http://www.opengis.net/swe/2.0",
"http://schemas.opengis.net/sweCommon/2.0/swe.xsd",
new SchemaResolver(catalog));
Configuration gmlConfiguration = EmfAppSchemaReader
.findGmlConfiguration(configuration);
// Null should be returned, not exception
// Warning message should be in the log
Assert.assertNull(gmlConfiguration);