### Question:
GridCreator implements Iterable<GridCell> { @Deprecated public GeoCoordinate getCoordinate(String cellIdentifier) { if (StringUtils.isBlank(cellIdentifier)) { return null; } return getCell(cellIdentifier).getCenter(); } GridCreator(double gridSize); @Deprecated String getCellIdentifier(GeoCoordinate coordinate); GridCell getCell(GeoCoordinate coordinate); List<GridCell> getCells(GridCell cell); @Deprecated GeoCoordinate getCoordinate(String cellIdentifier); GridCell getCell(String cellIdentifier); GridCell getCell(int xId, int yId); int getNumCells(); int getNumCellsY(); int getNumCellsX(); double getGridSize(); @Override Iterator<GridCell> iterator(); @Override String toString(); static void main(String[] args);  }### Answer:
@SuppressWarnings("deprecation") @Test public void testGetCoordinate() { GridCreator gridCreator = new GridCreator(90); assertEquals(new ImmutableGeoCoordinate(-45, 135), gridCreator.getCoordinate("(3|0)")); assertEquals(new ImmutableGeoCoordinate(45, -135), gridCreator.getCoordinate("(0|1)")); }