### Question:
JcrEmptyNodeIterator implements NodeIterator { public Object next() { throw new NoSuchElementException(); }  Node nextNode(); long getPosition(); long getSize(); void skip( long skipNum ); boolean hasNext(); Object next(); void remove();  }### Answer:
@Test( expected = NoSuchElementException.class ) public void shouldFailWhenNextIsCalled() { iter.next(); }