public TestCachingDataStore() {
super(staticEnv == null ? staticEnv = createTestEnv() : staticEnv);
}
private static BasicDataStoreTestEnv createTestEnv() {
BasicDataStoreTestEnv env = new BasicDataStoreTestEnv(
System.getProperties(),
LockingAccessCoordinator.class.getName());
env.txnProxy.setComponent(
DataService.class, new DummyDataService());
env.txnProxy.setComponent(