}
public void testNormalizeGeometryCollection() throws Exception {
GeometryCollection actualValue = (GeometryCollection) reader.read(
"GEOMETRYCOLLECTION (LINESTRING (200 300, 200 280, 220 280, 220 320, 180 320), POINT (140 220), POLYGON ((100 80, 100 160, 20 160, 20 80, 100 80), (40 140, 40 100, 80 100, 80 140, 40 140)), POINT (100 240))");
actualValue.normalize();
GeometryCollection expectedValue = (GeometryCollection) reader.read(
"GEOMETRYCOLLECTION (POINT (100 240), POINT (140 220), LINESTRING (180 320, 220 320, 220 280, 200 280, 200 300), POLYGON ((20 80, 20 160, 100 160, 100 80, 20 80), (40 100, 80 100, 80 140, 40 140, 40 100)))");
assertEqualsExact(expectedValue, actualValue);
}