@Test public void testGeoShapeGeometryCollection() throws JsonParseException, JsonMappingException, IOException { rgb.setNumGeometries(5); GeometryCollection geom = rgb.createRandomGeometryCollection(); assertTrue(parserUtil.createGeometry(rgb.toMap(geom)).equalsExact(geom, 1e-9)); }