@Test public void testConvertGeoshapeMultiLineToWktString() throws BackendException { GeometryFactory gf = new GeometryFactory(); Geoshape g = HELPER.geoshape(gf.createMultiLineString(new LineString[] { gf.createLineString(new Coordinate[] {new Coordinate(10,10), new Coordinate(20,20)}), gf.createLineString(new Coordinate[] {new Coordinate(30,30), new Coordinate(40,40)})})); String wkt1 = "MULTILINESTRING ((10 10, 20 20), (30 30, 40 40))"; String actualWkt1 = GeoToWktConverter.convertToWktString(g); assertEquals(wkt1, actualWkt1); }
public static String convertToWktString(Geoshape fieldValue) throws BackendException { return fieldValue.toString(); }
GeoToWktConverter { public static String convertToWktString(Geoshape fieldValue) throws BackendException { return fieldValue.toString(); } }
GeoToWktConverter { public static String convertToWktString(Geoshape fieldValue) throws BackendException { return fieldValue.toString(); }  }
GeoToWktConverter { public static String convertToWktString(Geoshape fieldValue) throws BackendException { return fieldValue.toString(); }  static String convertToWktString(Geoshape fieldValue); }
GeoToWktConverter { public static String convertToWktString(Geoshape fieldValue) throws BackendException { return fieldValue.toString(); }  static String convertToWktString(Geoshape fieldValue);  }