void () { assertEquals(myInstance.size(), 0); for (int i = 0; i < 100; i++) { myInstance.add(i); myInstance.add(i); assertEquals(myInstance.size(), i + 1); } myInstance.remove(4); assertEquals(myInstance.size(), 99); }