@Test
public void testGetXYGeometry() {

    Geometry geometry = GEOMETRY_FACTORY.createPoint(new Coordinate(1.0, 2.0));
    String sourceSRSURI = SRS_URI.WGS84_CRS;
    GeometryWrapper instance = new GeometryWrapper(geometry, sourceSRSURI, WKTDatatype.URI, DimensionInfo.XY_POINT);
    //Expect the coordinates to be reversed as JTS is x,y and WGS84 is y,x
    Geometry expResult = GEOMETRY_FACTORY.createPoint(new Coordinate(2.0, 1.0));
    Geometry result = instance.getXYGeometry();
    assertEquals(expResult, result);
}