@Test
    public void testAnnotationIterationForB() {
        //B has no child nodes, should have equal results for recursive and non-recursive iterator
        bIteration(tree.iterator(b));
        bIteration(tree.iteratorRecursive(b));
    }
Tests iterating through B's annotations in a tree.
document/src/test/java/com/yahoo/document/annotation/SpanTreeTestCase.java