@Test
public void multiPoint() throws Exception {

    double[] ords = { 1, 2, 3, 4 };
    MultiPoint mp = builder.multiPoint(ords[0], ords[1], ords[2], ords[3]);
    assertEquals(2, mp.getNumGeometries());
    Point p = (Point) mp.getGeometryN(0);
    assertEquals(2, p.getCoordinateSequence().getDimension());
}