assertEquals(expectedPosition, orderIterator.getPosition());
Node nextNode = (Node)orderIterator.next();
if (nextNode.getProperty("val").getLong() != expectedPosition)
{
orderIterator.skipBack(orderIterator.getPosition());
while (orderIterator.hasNext())
{
Node nooode = (Node)orderIterator.next();
log.info("node " + nooode.getPath() + " " + nooode.getProperty("val").getLong() + " "
+ orderIterator.getPosition());