assertEquals("a", iterator.nextNode().getName());
assertEquals("b", iterator.nextNode().getName());
assertEquals("c", iterator.nextNode().getName());
assertFalse(iterator.hasNext());
root.orderBefore("c", "a");
iterator = root.getNodes();
assertEquals("c", iterator.nextNode().getName());
assertEquals("a", iterator.nextNode().getName());
assertEquals("b", iterator.nextNode().getName());
assertFalse(iterator.hasNext());