public void testMultiPolygon() throws MarshallException, GeomajasException {
GeometryFactory factory = new GeometryFactory(new PrecisionModel(10000.0), 31300);
CoordinateArraySequence coords = new CoordinateArraySequence(new Coordinate[] { new Coordinate(12.0, 34.23),
new Coordinate(12.000, 54.555), new Coordinate(7, 8), new Coordinate(12.0, 34.23) });
LinearRing ring = new LinearRing(coords, factory);
Polygon p = new Polygon(ring, new LinearRing[] {}, factory);
MultiPolygon m = new MultiPolygon(new Polygon[] { p }, factory);
Geometry dto = converter.toDto(m);
JSONObject jtsJson = (JSONObject) jtsSerializer.marshall(null, m);