@Test
    public void assertClearAnnotationsRecursiveASPLTest() {
        populateSpanTree();
        int no = tree.numAnnotations();
        tree.clearAnnotationsRecursive(alternate2);
        int postNo = tree.numAnnotations();
        assertEquals((no-6), postNo);
    }
@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