@Test
public void testCreatPolygon() {

    List<Coordinate> coordinates = Arrays.asList(new Coordinate(1, 2), new Coordinate(10, 2), new Coordinate(10, 20), new Coordinate(1, 20), new Coordinate(1, 2));
    String srsURI = SRS_URI.WGS84_CRS;
    String geometryDatatypeURI = WKTDatatype.URI;
    GeometryWrapper instance = GeometryWrapperFactory.createPolygon(coordinates, srsURI, geometryDatatypeURI);
    String expResult = "<http://www.opengis.net/def/crs/EPSG/0/4326> POLYGON((2 1, 2 10, 20 10, 20 1, 2 1))";
    String result = instance.asLiteral().getLexicalForm();
    assertEquals(expResult, result);
}