private Chain<Searcher> makeSearchChain(String content, Searcher dumper) {
        DocumentSourceSearcher docsource = new DocumentSourceSearcher();
        addResult(new Query(DUMPJSON), content, docsource);
        addResult(new Query(NODUMPJSON), content, docsource);
        return new Chain<>(dumper, docsource);
    }
Visit the trace and check JSON payload is stored there when requested.

@author Steinar Knutsen
container-search/src/test/java/com/yahoo/prelude/searcher/test/JSONDebugSearcherTestCase.java