### Question:
JcrPropertyIterator implements PropertyIterator { public void skip( long count ) { CheckArg.isNonNegative(count, "count"); while (--count >= 0) { nextProperty(); } } JcrPropertyIterator( Collection<? extends Property> properties ); long getPosition(); long getSize(); boolean hasNext(); Object next(); Property nextProperty(); void remove(); void skip( long count );  }### Answer:
@Test( expected = IllegalArgumentException.class ) public void shouldNotAllowPropertyIteratorNegativeSkip() throws Exception { new JcrPropertyIterator(properties.values()).skip(-1); }