/** Test the clear() and size() methods. */ @Test public void testClearAndSize() { assertEquals("Check size 1", 3, _dbVector.size()); _dbVector.clear(); assertEquals("Check size 2", 0, _dbVector.size()); }
/** Run after each test. */ @After public void after() { _dbVector.clear(); }