}
@Test
public void testConcurrency() throws InterruptedException, IOException {
final Storage sM = createStorage();
final StorageLayer storageGeneric = new StorageLayer(sM);
store(storageGeneric);
final AtomicInteger counter = new AtomicInteger();
final Data result1 = storageGeneric.get(key1);
for (int i = 0; i < 10; i++) {
new Thread(new Runnable() {
@Override
public void run() {
try {