### Question:
GeoJsonMultiPoint extends MultiGeometry { public List<GeoJsonPoint> getPoints() { List<Geometry> geometryList = getGeometryObject(); ArrayList<GeoJsonPoint> geoJsonPoints = new ArrayList<GeoJsonPoint>(); for (Geometry geometry : geometryList) { GeoJsonPoint point = (GeoJsonPoint) geometry; geoJsonPoints.add(point); } return geoJsonPoints; } GeoJsonMultiPoint(List<GeoJsonPoint> geoJsonPoints); String getType(); List<GeoJsonPoint> getPoints();  }### Answer:
@Test public void testGetPoints() { List<GeoJsonPoint> points = new ArrayList<>(); points.add(new GeoJsonPoint(new LatLng(0, 0))); points.add(new GeoJsonPoint(new LatLng(5, 5))); points.add(new GeoJsonPoint(new LatLng(10, 10))); mp = new GeoJsonMultiPoint(points); assertEquals(points, mp.getPoints()); points = new ArrayList<>(); mp = new GeoJsonMultiPoint(points); assertEquals(new ArrayList<GeoJsonPoint>(), mp.getPoints()); try { mp = new GeoJsonMultiPoint(null); fail(); } catch (IllegalArgumentException e) { assertEquals("Geometries cannot be null", e.getMessage()); } }