@Test
    public void testMoveSimple() {
        SpanList sl1 = new SpanList();
        SpanList sl2 = new SpanList();
        Span s1 = new Span(1, 2);

        sl1.add(s1);
        assertEquals(1, sl1.children().size());
        assertEquals(0, sl2.children().size());
        sl1.move(s1, sl2);
        assertEquals(0, sl1.children().size());
        assertEquals(1, sl2.children().size());
        sl2.move(0, sl1);
        assertEquals(1, sl1.children().size());
        assertEquals(0, sl2.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