.andReturn(new String[]{"geopkgDataStoreFactoryInitializer"}).anyTimes();
expect(appContext.getBean("geopkgDataStoreFactoryInitializer")).andReturn(initializer).anyTimes();
replay(appContext);
new GeoServerExtensions().setApplicationContext(appContext);
assertNotNull(DataStoreUtils.aquireFactory(new GeoPkgDataStoreFactory().getDisplayName()));
verify(resourceLoader);
}