()
| 181 | * addAll of a collection with null elements throws NPE |
| 182 | */ |
| 183 | public void testAddAll2() { |
| 184 | try { |
| 185 | NavigableSet q = set0(); |
| 186 | Integer[] ints = new Integer[SIZE]; |
| 187 | q.addAll(Arrays.asList(ints)); |
| 188 | shouldThrow(); |
| 189 | } catch (NullPointerException success) {} |
| 190 | } |
| 191 | |
| 192 | /* |
| 193 | * addAll of a collection with any null elements throws NPE after |
nothing calls this directly
no test coverage detected