@Test
public void testCreateRasterEntry() throws Exception {

    GeoTiffFormat format = new GeoTiffFormat();
    GeoTiffReader reader = format.getReader(setUpGeoTiff());
    GridCoverage2D cov = reader.read(null);
    RasterEntry entry = new RasterEntry();
    entry.setTableName("world");
    geopkg.add(entry, cov, format);
    assertTableExists("world");
    assertRasterEntry(entry);
    GridCoverageReader r = geopkg.reader(entry, format);
    GridCoverage2D c = (GridCoverage2D) r.read(null);
    assertNotNull(c);
}