@Test
public void parseOrientableSurface()
                        throws XMLStreamException, FactoryConfigurationError, IOException, XMLParsingException,
                        UnknownCRSException {

    GMLStreamReader gmlReader = getParser( "OrientableSurface.gml" );
    XMLStreamReader xmlReader = gmlReader.getXMLReader();
    Assert.assertEquals( XMLStreamConstants.START_ELEMENT, xmlReader.getEventType() );
    Assert.assertEquals( new QName( "http://www.opengis.net/gml", "OrientableSurface" ), xmlReader.getName() );
    OrientableSurface surface = (OrientableSurface) gmlReader.readGeometry();
    Assert.assertEquals( XMLStreamConstants.END_ELEMENT, xmlReader.getEventType() );
    Assert.assertEquals( new QName( "http://www.opengis.net/gml", "OrientableSurface" ), xmlReader.getName() );
    Assert.assertEquals( SurfaceType.OrientableSurface, surface.getSurfaceType() );
    Assert.assertEquals( 2, surface.getPatches().size() );
}