MCPcopy Create free account
hub / github.com/jankotek/mapdb / testAddAll1

Method testAddAll1

src/test/java/org/mapdb/BTreeSet3Test.java:172–178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

170 * addAll(null) throws NPE
171 */
172 public void testAddAll1() {
173 try {
174 NavigableSet q = set0();
175 q.addAll(null);
176 shouldThrow();
177 } catch (NullPointerException success) {}
178 }
179
180 /*
181 * addAll of a collection with null elements throws NPE

Callers

nothing calls this directly

Calls 2

set0Method · 0.95
shouldThrowMethod · 0.45

Tested by

no test coverage detected