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

    GeodesicString segment = (GeodesicString) getParser().parseCurveSegment( getReader( "GeodesicString.gml" ),
                                                                             null );
    Assert.assertEquals( 3, segment.getControlPoints().size() );
    Assert.assertEquals( 2.0, segment.getControlPoints().get( 0 ).get0() );
    Assert.assertEquals( 0.0, segment.getControlPoints().get( 0 ).get1() );
    Assert.assertEquals( 0.0, segment.getControlPoints().get( 1 ).get0() );
    Assert.assertEquals( 2.0, segment.getControlPoints().get( 1 ).get1() );
    Assert.assertEquals( -2.0, segment.getControlPoints().get( 2 ).get0() );
    Assert.assertEquals( 0.0, segment.getControlPoints().get( 2 ).get1() );
}