Store returnedStore = factory.createStore(tableName);
assertEquals(returnedStore, this.store);
}
private StoreFactory createFactory() {
HoneycombConfiguration configurationHolder = new HoneycombConfiguration(adapterConfigs, "hbase");
Map<AdapterType, Provider<Store>> map = Maps.newHashMap();
map.put(AdapterType.HBASE, storeProvider);
when(storeProvider.get()).thenReturn(store);
return new StoreFactory(map, configurationHolder);
}