MBTilesFile mbtiles = new MBTilesFile(f);
mbtiles.init();
// Add tiles to the file(Internally uses the MBtilesFileWrapper)
format.addTiles(mbtiles, mapContent.getRequest(), null);
// Ensure everything is correct
MBTilesMetadata metadata = mbtiles.loadMetaData();
assertEquals("World_Lakes", metadata.getName());
assertEquals("0", metadata.getVersion());
assertEquals("World, null", metadata.getDescription());
assertEquals(-0.17578125, metadata.getBounds().getMinimum(0), 0.001);