Injector injector = Guice.createInjector(
DbModule.testModule(Bindings.annotatedKeyFactory(Delegated.class)),
new MemStorageModule(Bindings.annotatedKeyFactory(Volatile.class)));
Storage storage = injector.getInstance(Key.get(Storage.class, Volatile.class));
storage.prepare();
return storage;
}
private <S extends StoreProvider, T, E extends Exception> T doWork(
LockType lockType,