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

    String schemaURL = this.getClass().getResource( "../misc/schema/CustomProperties.xsd" ).toString();
    GMLAppSchemaReader adapter = new GMLAppSchemaReader( null, null, schemaURL );
    List<FeatureType> fts = adapter.extractAppSchema().getFeatureTypes( "http://www.deegree.org/app", false, false );
    Assert.assertEquals( 1, fts.size() );
    FeatureType ft = fts.get( 0 );
    Assert.assertEquals( 9, ft.getPropertyDeclarations().size() );
}