Beispiel #1
0
 /** 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());
 }
Beispiel #2
0
 /** Run after each test. */
 @After
 public void after() {
   _dbVector.clear();
 }