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

    Arc arc = (Arc) getParser().parseCurveSegment( getReader( "Arc.gml" ), CRSManager.getCRSRef( "EPSG:4326" ) );
    Assert.assertEquals( 1, arc.getNumArcs() );
    Assert.assertEquals( 3, arc.getControlPoints().size() );
    Assert.assertEquals( 2.0, arc.getPoint1().get0() );
    Assert.assertEquals( 0.0, arc.getPoint1().get1() );
    Assert.assertEquals( 0.0, arc.getPoint2().get0() );
    Assert.assertEquals( 2.0, arc.getPoint2().get1() );
    Assert.assertEquals( -2.0, arc.getPoint3().get0() );
    Assert.assertEquals( 0.0, arc.getPoint3().get1() );
}