### Question:
KmlPolygon implements DataPolygon<ArrayList<ArrayList<LatLng>>> { public List<List<LatLng>> getGeometryObject() { List<List<LatLng>> coordinates = new ArrayList<>(); coordinates.add(mOuterBoundaryCoordinates); if (mInnerBoundaryCoordinates != null) { coordinates.addAll(mInnerBoundaryCoordinates); } return coordinates; } KmlPolygon(List<LatLng> outerBoundaryCoordinates,
                      List<List<LatLng>> innerBoundaryCoordinates); String getGeometryType(); List<List<LatLng>> getGeometryObject(); List<LatLng> getOuterBoundaryCoordinates(); List<List<LatLng>> getInnerBoundaryCoordinates(); @Override String toString(); static final String GEOMETRY_TYPE; }### Answer:
@Test public void testGetKmlGeometryObject() { KmlPolygon kmlPolygon = createRegularPolygon(); assertNotNull(kmlPolygon); assertNotNull(kmlPolygon.getGeometryObject()); assertEquals(2, kmlPolygon.getGeometryObject().size()); kmlPolygon = createOuterPolygon(); assertNotNull(kmlPolygon); assertNotNull(kmlPolygon.getGeometryObject()); assertEquals(1, kmlPolygon.getGeometryObject().size()); }