@Test
    void testHitField() {
        HitField hf = new HitField("boo", "hei paa deg");
        assertEquals(3, hf.getTokenizedContent().size());
        List l = new ArrayList();
        l.add(new StringFieldPart("foo", true));
        l.add(new StringFieldPart(" ", false));
        l.add(new StringFieldPart("bar", true));
        hf.setTokenizedContent(l);
        assertEquals("foo bar", hf.getContent());
        assertEquals("hei paa deg", hf.getRawContent());
    }
Tests the HitField class

@author Lars Chr Jensen
container-search/src/test/java/com/yahoo/prelude/hitfield/test/HitFieldTestCase.java