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

    Circle circle = (Circle) getParser().parseCurveSegment( getReader( "Circle.gml" ), null );
    Assert.assertEquals( 1, circle.getNumArcs() );
    Assert.assertEquals( 3, circle.getControlPoints().size() );
    Assert.assertEquals( 2.0, circle.getPoint1().get0() );
    Assert.assertEquals( 0.0, circle.getPoint1().get1() );
    Assert.assertEquals( 0.0, circle.getPoint2().get0() );
    Assert.assertEquals( 2.0, circle.getPoint2().get1() );
    Assert.assertEquals( -2.0, circle.getPoint3().get0() );
    Assert.assertEquals( 0.0, circle.getPoint3().get1() );
}