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

    ArcString arc = (ArcString) getParser().parseCurveSegment( getReader( "ArcString.gml" ), null );
    Assert.assertEquals( 3, arc.getNumArcs() );
    Assert.assertEquals( 7, arc.getControlPoints().size() );
    Assert.assertEquals( 2.0, arc.getControlPoints().get( 0 ).get0() );
    Assert.assertEquals( 0.0, arc.getControlPoints().get( 0 ).get1() );
    Assert.assertEquals( 0.0, arc.getControlPoints().get( 1 ).get0() );
    Assert.assertEquals( 2.0, arc.getControlPoints().get( 1 ).get1() );
    Assert.assertEquals( -2.0, arc.getControlPoints().get( 2 ).get0() );
    Assert.assertEquals( 0.0, arc.getControlPoints().get( 2 ).get1() );
    Assert.assertEquals( -4.0, arc.getControlPoints().get( 3 ).get0() );
    Assert.assertEquals( -2.0, arc.getControlPoints().get( 3 ).get1() );
    Assert.assertEquals( -6.0, arc.getControlPoints().get( 4 ).get0() );
    Assert.assertEquals( 0.0, arc.getControlPoints().get( 4 ).get1() );
    Assert.assertEquals( -8.0, arc.getControlPoints().get( 5 ).get0() );
    Assert.assertEquals( 2.0, arc.getControlPoints().get( 5 ).get1() );
    Assert.assertEquals( -10.0, arc.getControlPoints().get( 6 ).get0() );
    Assert.assertEquals( 0.0, arc.getControlPoints().get( 6 ).get1() );
}