### Question:
IteratorHelper { public static boolean isEmpty (@Nullable final Iterator <?> aIter) { return aIter == null || !aIter.hasNext (); } private  IteratorHelper(); static boolean isEmpty(@Nullable final Iterator <?> aIter); static boolean isEmpty(@Nullable final IIterableIterator <?> aIter); static boolean isEmpty(@Nullable final Enumeration <?> aEnum); static boolean isNotEmpty(@Nullable final Iterator <?> aIter); static boolean isNotEmpty(@Nullable final IIterableIterator <?> aIter); static boolean isNotEmpty(@Nullable final Enumeration <?> aEnum); @Nonnegative static int getSize(@Nullable final IIterableIterator <?> aIterator); @Nonnegative static int getSize(@Nullable final Iterator <?> aIterator); @Nonnegative static int getSize(@Nullable final Enumeration <?> aEnumeration); @Nonnull static IIterableIterator <ELEMENTTYPE> getIterator(@Nullable final Enumeration <? extends ELEMENTTYPE> aEnum); @Nonnull static Iterator <ELEMENTTYPE> getIterator(@Nullable final Iterable <ELEMENTTYPE> aCont); @Nonnull static Iterator <ELEMENTTYPE> getIterator(@Nullable final Iterator <ELEMENTTYPE> aIter); @Nonnull @SafeVarargs static Iterator <ELEMENTTYPE> getIterator(@Nullable final ELEMENTTYPE... aArray); @Nonnull static Iterator <ELEMENTTYPE> getReverseIterator(@Nullable final List <? extends ELEMENTTYPE> aCont); @Nonnull static Iterator <ELEMENTTYPE> getCombinedIterator(@Nullable final Iterator <? extends ELEMENTTYPE> aIter1,
                                                                          @Nullable final Iterator <? extends ELEMENTTYPE> aIter2); @Nonnull static Enumeration <ELEMENTTYPE> getEnumeration(@Nullable final Iterable <ELEMENTTYPE> aCont); @Nonnull @SafeVarargs static Enumeration <ELEMENTTYPE> getEnumeration(@Nullable final ELEMENTTYPE... aArray); @Nonnull static Enumeration <ELEMENTTYPE> getEnumeration(@Nullable final Iterator <ELEMENTTYPE> aIter); @Nonnull static Enumeration <Map.Entry <KEYTYPE, VALUETYPE>> getEnumeration(@Nullable final Map <KEYTYPE, VALUETYPE> aMap);  }### Answer:
@Test public void testIsEmpty_Iterator () { assertTrue (isEmpty ((Iterator <?>) null)); assertTrue (isEmpty (new CommonsArrayList <> ().iterator ())); assertTrue (isEmpty (new EmptyIterator <> ())); assertFalse (isEmpty (newList ("any").iterator ())); assertTrue (isEmpty (new EmptyIterator <> ())); }
@Test public void testIsEmpty_IIterableIterator () { assertTrue (isEmpty ((IIterableIterator <?>) null)); assertTrue (isEmpty (new IterableIterator <> (new CommonsArrayList <> ()))); assertTrue (isEmpty (IterableIterator.<String> createEmpty ())); assertFalse (isEmpty (new IterableIterator <> (newList ("any")))); }