@@ -0,0 +1,1468 @@
+package com.ubiquity.core.datastore;%0A%0Aimport junit.framework.Assert;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport java.util.NoSuchElementException;%0Aimport java.util.Set;%0A%0Apublic class DataStoreTest %7B%0A%0A    private final int NB_INSERTIONS = 3;%0A    private DataStore dataStore;%0A%0A%0A    @Before%0A    public void init() %7B%0A        dataStore = new DataStore();%0A    %7D%0A%0A%0A    @Test%0A    public void testShelvesInsert() %7B%0A        testDataShelfInsertions(NB_INSERTIONS);%0A%0A        Set%3CString%3E dataShelvesId = dataStore.getAllShlevesId();%0A        Assert.assertEquals(dataShelvesId.size(), NB_INSERTIONS);%0A    %7D%0A%0A%0A    @Test(expected = NoSuchElementException.class)%0A    public void testGetUnexistingShelf() %7B%0A        testDataShelfInsertions(NB_INSERTIONS);%0A        dataStore.getDataShelf(%22hello-world%22);%0A    %7D%0A%0A%0A    @Test(expected = AssertionError.class)%0A    public void testNullNamedShelfInsert() %7B%0A        dataStore.addDataShelf(null);%0A    %7D%0A%0A%0A    @Test(expected = AssertionError.class)%0A    public void testEmptyNamedShelfInsert() %7B%0A        dataStore.addDataShelf(%22%22);%0A    %7D%0A%0A%0A    private void testDataShelfInsertions(int quantity) %7B%0A        for (int index = 0 ; index %3C quantity ; index++) %7B%0A            testDataShelfInsertion(%22id%22 + index);%0A        %7D%0A    %7D%0A%0A%0A    private void testDataShelfInsertion(String identifier) %7B%0A        DataShelf dataShelf1 = dataStore.addDataShelf(identifier);%0A        Assert.assertEquals(dataShelf1, dataStore.getDataShelf(identifier));%0A    %7D%0A%0A%7D%0A

Create junit test DataStoreTest