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

    GeometricShapeFactory shapeFactory = new GeometricShapeFactory(GEOMETRY_FACTORY);
    shapeFactory.setCentre(new Coordinate(0, 0));
    shapeFactory.setSize(10);
    Geometry circle = shapeFactory.createCircle().getExteriorRing();
    GMLReader expResult = new GMLReader(circle, 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:CircleByCenterPoint ><gml:pos>0 0</gml:pos><gml:radius uom=\"http://www.opengis.net/def/uom/OGC/1.0/metre\">5.0</gml:radius></gml:CircleByCenterPoint></gml:segments></gml:Curve>";
    GMLReader result = GMLReader.extract(gmlText);
    //
    //
    assertEquals(expResult, result);
}