@Test
public void testCreatPolygon_xy() {

    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.DEFAULT_WKT_CRS84;
    String geometryDatatypeURI = WKTDatatype.URI;
    GeometryWrapper instance = GeometryWrapperFactory.createPolygon(coordinates, srsURI, geometryDatatypeURI);
    String expResult = "POLYGON((1 2, 10 2, 10 20, 1 20, 1 2))";
    String result = instance.asLiteral().getLexicalForm();
    assertEquals(expResult, result);
}