@Test
public void testParsingPhilosopher()
                        throws ClassCastException, ClassNotFoundException, InstantiationException,
                        IllegalAccessException {

    String schemaURL = this.getClass().getResource( "../misc/schema/Philosopher.xsd" ).toString();
    GMLAppSchemaReader adapter = new GMLAppSchemaReader( null, null, schemaURL );
    AppSchema schema = adapter.extractAppSchema();
    List<FeatureType> fts = schema.getFeatureTypes( "http://www.deegree.org/app", true, true );
    Assert.assertEquals( 4, fts.size() );
}