### Question:
GeoJsonPolygon implements DataPolygon { public List<? extends List<LatLng>> getCoordinates() { return mCoordinates; } GeoJsonPolygon(
            List<? extends List<LatLng>> coordinates); String getType(); List<? extends List<LatLng>> getCoordinates(); List<? extends List<LatLng>> getGeometryObject(); String getGeometryType(); ArrayList<LatLng> getOuterBoundaryCoordinates(); ArrayList<ArrayList<LatLng>> getInnerBoundaryCoordinates(); @Override String toString();  }### Answer:
@Test public void testGetCoordinates() { List<List<LatLng>> coordinates = new ArrayList<>(); coordinates.add( new ArrayList<>( Arrays.asList( new LatLng(0, 0), new LatLng(20, 20), new LatLng(60, 60), new LatLng(0, 0)))); p = new GeoJsonPolygon(coordinates); assertEquals(coordinates, p.getCoordinates()); coordinates.add( new ArrayList<>( Arrays.asList( new LatLng(0, 0), new LatLng(20, 20), new LatLng(60, 60), new LatLng(0, 0)))); p = new GeoJsonPolygon(coordinates); try { p = new GeoJsonPolygon(null); fail(); } catch (IllegalArgumentException e) { assertEquals("Coordinates cannot be null", e.getMessage()); } }