@org.junit.Test public void testClear() throws Exception { storage.clear(); Assert.assertEquals(0, storage.size()); }
@org.junit.Test public void testDelete() throws Exception { storage.delete(R1.getUuid()); Assert.assertEquals(2, storage.size()); }
@org.junit.Test public void testSize() throws Exception { Assert.assertEquals(3, storage.size()); }
private void assertSize(int size) { assertEquals(size, storage.size()); }