### Question:
GeomBuilder { public GeomBuilder multiLineString() { gstack.push(factory.createMultiLineString(gpopAll(LineString.class))); return this; } GeomBuilder();  GeomBuilder(GeometryFactory factory);  GeomBuilder(int srid); GeomBuilder point(double x, double y); GeomBuilder pointz(double x, double y, double z); GeomBuilder points(double ...ord); GeomBuilder pointsz(double ...ord); GeomBuilder point(); GeomBuilder lineString(); GeomBuilder ring(); GeomBuilder polygon(); GeomBuilder multiPoint(); GeomBuilder multiLineString(); GeomBuilder multiPolygon(); GeomBuilder collection(); GeomBuilder buffer(double amt); Geometry get(); Point toPoint(); LineString toLineString(); LinearRing toLinearRing(); Polygon toPolygon(); MultiPoint toMultiPoint(); MultiLineString toMultiLineString(); MultiPolygon toMultiPolygon(); GeometryCollection toCollection();  }### Answer:
@Test public void testMultiLineString() { MultiLineString ml = gb.points(0,1,2,3).lineString().points(4,5,6,7).lineString().toMultiLineString(); assertEquals(2, ml.getNumGeometries()); LineString l1 = (LineString) ml.getGeometryN(0); assertEquals(2, l1.getNumPoints()); assertPoint(l1.getPointN(0), 0,1); assertPoint(l1.getPointN(1), 2,3); LineString l2 = (LineString) ml.getGeometryN(1); assertEquals(2, l2.getNumPoints()); assertPoint(l2.getPointN(0), 4,5); assertPoint(l2.getPointN(1), 6,7); }