// ensure the geopackage has the right data in it
GeoPackage gpkg = new GeoPackage(root.resolve("data/bar.gpkg").toFile());
try {
assertEquals(2, gpkg.features().size());
assertNotNull(gpkg.feature("stuff"));
assertNotNull(gpkg.feature("widgets"));
}
finally {
gpkg.close();
}