@Test
public void testCheckMultiPoint() throws FactoryException {

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