### Question:
EntryIDSet implements Iterable<EntryID> { static EntryIDSet newDefinedSet(long... entryIDs) { checkNotNull(entryIDs, "ids must not be null"); return new EntryIDSet(new DefinedImpl(entryIDs)); } private  EntryIDSet(EntryIDSetImplementor concreteImpl); long size(); void toString(StringBuilder buffer); @Override String toString(); long[] toLongArray(); boolean isDefined(); boolean add(EntryID entryID); boolean remove(EntryID entryID); boolean contains(EntryID entryID); void addAll(EntryIDSet that); void retainAll(EntryIDSet that); void removeAll(EntryIDSet that); @Override Iterator<EntryID> iterator(); Iterator<EntryID> iterator(EntryID begin); static final EntryIDSetCodec CODEC_V1; static final EntryIDSetCodec CODEC_V2; }### Answer:
@Test(expectedExceptions = NullPointerException.class) public void testDefinedCannotCreateWithNull() { newDefinedSet(null); }