JcrEmptyPropertyIterator implements PropertyIterator { @Override public long getPosition() { return 0L; } private  JcrEmptyPropertyIterator(); @Override Property nextProperty(); @Override long getPosition(); @Override long getSize(); @Override void skip( long skipNum ); @Override boolean hasNext(); @Override Object next(); @Override void remove();  }
@Test public void shouldHavePositionOfZero() { assertThat(iter.getPosition(), is(0L)); }