EmptyEventListenerIterator implements EventListenerIterator { @Override public boolean hasNext() { return false; }  @Override EventListener nextEventListener(); @Override void skip(long skipNum); @Override long getSize(); @Override long getPosition(); @Override boolean hasNext(); @Override Object next();  }
@Test public void testHasNext() { assertFalse("should never have next", new EmptyEventListenerIterator().hasNext()); }