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

    XMLStreamReaderWrapper parser = getParser( "Rectangle.gml" );
    Rectangle patch = (Rectangle) getPatchParser().parseSurfacePatch( parser, CRSManager.getCRSRef( "EPSG:4326" ) );
    Assert.assertEquals( 5, patch.getExteriorRing().getControlPoints().size() );
}