@Test
public void testCreatLineString() {

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