### Question:
TileRowImporterImpl implements TileRowImporter { @Override public void importTile(GeoPackageTileLayer layer, TileDao tileDao, BoundingBox layerBoundingBox, TileRow tileRow) { BoundingBox box = TileBoundingBoxUtils.getBoundingBox(layerBoundingBox, tileDao.getTileMatrix(tileRow.getZoomLevel()), tileRow.getTileColumn(), tileRow.getTileRow()); GeoPackageTile tile = new GeoPackageTile(layer.getId(), tileRow.getZoomLevel(), GeoPackageCoordinateUtils.getInstance().convertToGeodetic(box, tileDao.getProjection()), (int)tileRow.getTileColumn(), (int)tileRow.getTileRow()); String tileKey = generateTileKey(tile); depositTile(layer, tileKey, tile); if (tileRow.getTileData() != null) { InputStream imageData = myEncoder.encodeImage(tileRow.getTileData()); depositImage(layer, tileKey, imageData); } } TileRowImporterImpl(DataRegistry registry); @Override void importTile(GeoPackageTileLayer layer, TileDao tileDao, BoundingBox layerBoundingBox, TileRow tileRow);  }### Answer:
@Test public void test() { final EasyMockSupport support = new EasyMockSupport(); final GeoPackageTileLayer layer = createLayer(); final DataRegistry registry = createDataRegistry(support, layer.getId()); final TileDao tileDao = createTileDao(support); final BoundingBox boundingBox = createBoundBox(); final TileRow row = createTileRow(tileDao); support.replayAll(); final TileRowImporterImpl importer = new TileRowImporterImpl(registry); importer.importTile(layer, tileDao, boundingBox, row); support.verifyAll(); }