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

    ArcByBulge arc = (ArcByBulge) getParser().parseCurveSegment( getReader( "ArcByBulge.gml" ),
                                                                 CRSManager.getCRSRef( "EPSG:4326" ) );
    Assert.assertEquals( 1, arc.getNumArcs() );
    Assert.assertEquals( 2, arc.getControlPoints().size() );
    Assert.assertEquals( 2.0, arc.getPoint1().get0() );
    Assert.assertEquals( 0.0, arc.getPoint1().get1() );
    Assert.assertEquals( -2.0, arc.getPoint2().get0() );
    Assert.assertEquals( 0.0, arc.getPoint2().get1() );
    Assert.assertEquals( 1, arc.getBulges().length );
    Assert.assertEquals( 2.0, arc.getBulge() );
    Assert.assertEquals( 1, arc.getNormals().size() );
    // Assert.assertEquals( 1, arc.getNormal().getCoordinateDimension() ); TODO Since every point we're working with
    // has 2 or 3 coords, find a way around this gml:vectortype
    Assert.assertEquals( -1.0, arc.getNormal().get0() );
}