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