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

    Geodesic segment = (Geodesic) getParser().parseCurveSegment( getReader( "Geodesic.gml" ), null );
    Assert.assertEquals( 2, 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() );
}