}
@Test
public void testReadMultiGeometry() {
WktReader wkt = new WktReader();
Geometry g = wkt
.read("GEOMETRYCOLLECTION(MULTIPOLYGON(((10 20,40 50,60 70,10 20)),"
+ "((0 0,0 100,100 100,100 0,0 0))),POINT(1230.09 234))");
Geometry g2 = wkt.read(g.toString());
String s = g2.toString();
assertTrue(s.equals("GEOMETRYCOLLECTION(MULTIPOLYGON"
+ "(((10.0 20.0,40.0 50.0,60.0 70.0,10.0 20.0)),"
+ "((0.0 0.0,0.0 100.0,100.0 100.0,100.0 0.0,0.0 0.0))),POINT(1230.09 234.0))"));
}