### Question:
JcrPropertyIterator implements PropertyIterator { public void remove() { throw new UnsupportedOperationException(); } JcrPropertyIterator( Collection<? extends Property> properties ); long getPosition(); long getSize(); boolean hasNext(); Object next(); Property nextProperty(); void remove(); void skip( long count );  }### Answer:
@Test( expected = UnsupportedOperationException.class ) public void shouldNotAllowPropertyIteratorRemove() throws Exception { new JcrPropertyIterator(properties.values()).remove(); }