()
| 66 | compare(list, new String[] { "0", "2" }); |
| 67 | } |
| 68 | @Test |
| 69 | public void addAll() { |
| 70 | System.out.println("Running testAddAll()"); |
| 71 | list.addAll(Arrays.asList(new String[] { |
| 72 | "An", "African", "Swallow"})); |
| 73 | assertEquals(list.size(), 6); |
| 74 | compare(list, new String[] { "0", "1", "2", |
| 75 | "An", "African", "Swallow" }); |
| 76 | } |
| 77 | } |
| 78 | /* Output: |
| 79 | >>> Starting CountedListTest |