Geometry g2 = wkt.read("LineString(32 34,334 23)");
LineString l = (LineString) g;
LineString l2 = (LineString) g2;
CoordSeqEditor lineEditor = new CoordSeqEditor(l.getPoints());
lineEditor.join(l2.getPoints());
LineString rl2 = new LineString(lineEditor.toCoordinateSeq());
String s = "LINESTRING(32.0 34.0,334.0 23.0,1230.09 234.0)";
assertTrue(s.equals(rl2.toString()));
}