### Question:
GeoJsonPoint extends Point { public LatLng getCoordinates() { return getGeometryObject(); } GeoJsonPoint(LatLng coordinates);  GeoJsonPoint(LatLng coordinates, Double altitude); String getType(); LatLng getCoordinates(); Double getAltitude();  }### Answer:
@Test public void testGetCoordinates() { GeoJsonPoint p = new GeoJsonPoint(new LatLng(0, 0)); assertEquals(new LatLng(0, 0), p.getCoordinates()); try { new GeoJsonPoint(null); fail(); } catch (IllegalArgumentException e) { assertEquals("Coordinates cannot be null", e.getMessage()); } }