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