@Test
public void testExtractArc() throws JDOMException, IOException {

    GeometricShapeFactory shapeFactory = new GeometricShapeFactory(GEOMETRY_FACTORY);
    shapeFactory.setCentre(new CoordinateXY(0, 0));
    shapeFactory.setWidth(10);
    Geometry arc = shapeFactory.createArc(0, Math.PI);  //Semi-cicle centred around 0,0 and radius 5.
    GMLReader expResult = new GMLReader(arc, 2, SRS_URI.OSGB36_CRS);
    String gmlText = "<gml:Curve xmlns:gml=\"http://www.opengis.net/ont/gml\" srsName=\"http://www.opengis.net/def/crs/EPSG/0/27700\"><gml:segments><gml:Arc><gml:posList>5 0 0 5 -5 0</gml:posList></gml:Arc></gml:segments></gml:Curve>";
    GMLReader result = GMLReader.extract(gmlText);
    //
    //
    assertEquals(expResult, result);
}