Geometry g = wkt.read("POINT(0 0)");
g.setSRID(4326);
Literal literal = ff.literal(g);
CRSEvaluator evaluator = new CRSEvaluator(null);
CoordinateReferenceSystem crs = (CoordinateReferenceSystem) literal.accept(evaluator, null);
assertEquals(CRS.decode("EPSG:4326"), crs);
}
@Test
public void testLiteralCRS() throws Exception {