JcrChildNodeIterator implements NodeIterator { @Override public long getPosition() { return ndx; } JcrChildNodeIterator( NodeResolver resolver,
                          Iterator<ChildReference> iterator );   JcrChildNodeIterator( NodeResolver resolver,
                          ChildReferences childReferences ); @Override long getPosition(); @Override long getSize(); @Override boolean hasNext(); @Override Object next(); @Override Node nextNode(); @Override void remove(); @Override void skip( long count );  }
@Test public void shouldStartWithPositionOfZero() { assertThat(iter.getPosition(), is(0L)); }