@Test
public void testCheckTransformSRS() throws Exception {

    Geometry geometry = GEOMETRY_FACTORY.createPoint(new Coordinate(1.0, 2.0));
    String sourceSRSURI = SRS_URI.WGS84_CRS;
    GeometryWrapper sourceSRSGeometry = new GeometryWrapper(geometry, sourceSRSURI, WKTDatatype.URI, DimensionInfo.XY_POINT);
    //Only the SRS_URI is important in the instance.
    String targetSRSURI = SRS_URI.DEFAULT_WKT_CRS84;
    GeometryWrapper instance = new GeometryWrapper(geometry, targetSRSURI, WKTDatatype.URI, DimensionInfo.XY_POINT);
    //Expecting the coordinates to be reveresed.
    Geometry geometryTarget = GEOMETRY_FACTORY.createPoint(new Coordinate(2.0, 1.0));
    GeometryWrapper expResult = new GeometryWrapper(geometryTarget, targetSRSURI, WKTDatatype.URI, DimensionInfo.XY_POINT);
    GeometryWrapper result = instance.checkTransformSRS(sourceSRSGeometry);
    assertEquals(expResult, result);
}