@Test
    public void testMoveAlternate() {
        AlternateSpanList asl1 = new AlternateSpanList();
        AlternateSpanList asl2 = new AlternateSpanList();
        Span s1 = new Span(1, 2);

        asl1.add(s1);
        assertEquals(1, asl1.children().size());
        assertEquals(0, asl2.children().size());
        asl1.move(s1, asl2);
        assertEquals(0, asl1.children().size());
        assertEquals(1, asl2.children().size());
        asl2.move(0, asl1);
        assertEquals(1, asl1.children().size());
        assertEquals(0, asl2.children().size());
    }
@author <a href="mailto:einarmr@yahoo-inc.com">Einar M R Rosenvinge</a>
document/src/test/java/com/yahoo/document/annotation/SpanListTestCase.java