### Question:
KmlMultiGeometry extends MultiGeometry { public ArrayList<Geometry> getGeometryObject() { List<Geometry> geometriesList = super.getGeometryObject(); return new ArrayList<>(geometriesList); } KmlMultiGeometry(ArrayList<Geometry> geometries); ArrayList<Geometry> getGeometryObject(); @Override String toString();  }### Answer:
@Test public void testGetGeometry() { KmlMultiGeometry kmlMultiGeometry = createMultiGeometry(); Assert.assertNotNull(kmlMultiGeometry); Assert.assertEquals(1, kmlMultiGeometry.getGeometryObject().size()); KmlLineString lineString = ((KmlLineString) kmlMultiGeometry.getGeometryObject().get(0)); Assert.assertNotNull(lineString); }