@Test
    public void assertIteratorRecursiveASPLTest() {
        populateSpanTree();
        int no = 0;
        Iterator<Annotation> it = tree.iteratorRecursive(alternate2);
        while (it.hasNext()) {
            it.next();
            no ++;
        }
        assertEquals(6, no);
    }
@author <a href="mailto:mpraveen@yahoo-inc.com">Praveen Mohan</a>

This test covers all possible scenarios in SpanTree.
document/src/test/java/com/yahoo/document/annotation/SpanTreeAdvTest.java