@Test void sizeTest() { final HopscotchCollection<Integer> hopscotchCollection = new HopscotchCollection<>(); Assert.assertEquals(hopscotchCollection.size(), 0); hopscotchCollection.addAll(testVals); Assert.assertEquals(hopscotchCollection.size(), testVals.size()); hopscotchCollection.add(notInTestVals); Assert.assertEquals(hopscotchCollection.size(), testVals.size() + 1); hopscotchCollection.removeEach(notInTestVals); Assert.assertEquals(hopscotchCollection.size(), testVals.size()); hopscotchCollection.clear(); Assert.assertEquals(hopscotchCollection.size(), 0); }