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