@Test
public void testCheckPoint() throws FactoryException {

    WKTReader reader = new WKTReader();
    try {
        Point geometry = (Point) reader.read("POINT(2 0)");
        String srsURI = "http://www.opengis.net/def/crs/EPSG/0/4326";
        Geometry expResult = reader.read("POINT(0 2)");
        Geometry result = GeometryReverse.check(geometry, srsURI);
        //
        //
        assertEquals(expResult, result);
    } catch (ParseException ex) {
        System.err.println("ParseException: " + ex.getMessage());
    }
}