### Question:
GridCell2DImpl implements GridCell2D { @Override public Polygon getFootprint() { return footprint; } GridCell2DImpl(GridCoordinates2D gridCoords, HorizontalPosition centre,
            Polygon footprint, HorizontalGrid parentGrid); @Override GridCoordinates2D getGridCoordinates(); @Override HorizontalPosition getCentre(); @Override Polygon getFootprint(); @Override boolean contains(HorizontalPosition position); @Override HorizontalGrid getParentDomain(); @Override String toString();  }### Answer:
@Test public void testGetFootprint() { Array<GridCell2D> cells = rGrid.getDomainObjects(); GridCell2D cell = cells.get(1, 4); BoundingBox expectedBbox = new BoundingBoxImpl(96.75, 33.25, 97.25, 33.75, crs); assertEquals(expectedBbox, cell.getFootprint()); cell = cells.get(3, 4); expectedBbox = new BoundingBoxImpl(96.75, 33.6, 97.25, 33.98, crs); assertFalse(cell.getFootprint().equals(expectedBbox)); }