@Test
    void testTokenIteratorRemove() {
        HitField hf = new HitField("boo", "hei paa deg");
        ListIterator<FieldPart> l = hf.tokenIterator();
        l.next();
        l.next();
        l.remove();
        l.add(new StringFieldPart("hallo", true));
        assertEquals(3, hf.getTokenizedContent().size());
        assertEquals("hei hallo deg", hf.getContent());
        l.next();
        l.previous();
        l.previous();
        l.remove();
        assertEquals("hei  deg", hf.getContent());
        l.add(new StringFieldPart("paa", true));
        assertEquals("hei paa deg", hf.getContent());
    }
Tests the FieldTokenIterator class

@author Steinar Knutsen
container-search/src/test/java/com/yahoo/prelude/hitfield/test/TokenFieldIteratorTestCase.java