@Test
    void testDecoding() {
        DocsumDefinitionSet set = createDocsumDefinitionSet();
        FastHit hit = new FastHit();

        set.lazyDecode(null, makeDocsum(), hit);
        assertEquals("Arts/Celebrities/Madonna", hit.getField("TOPIC"));
        assertEquals("1", hit.getField("EXTINFOSOURCE").toString());
        assertEquals("10", hit.getField("LANG1").toString());
        assertEquals("352", hit.getField("WORDS").toString());
        assertEquals("index:null/0/" + asHexString(hit.getGlobalId()), hit.getId().toString());
    }
Tests docsum class functionality

@author bratseth
container-search/src/test/java/com/yahoo/prelude/fastsearch/DocsumDefinitionTestCase.java