private Chain<Searcher> createSearchChain(String sdName, Object content) {
        JuniperSearcher searcher = new JuniperSearcher(new ComponentId("test"),
                                                       new QrSearchersConfig(new QrSearchersConfig.Builder()));

        DocumentSourceSearcher docsource = new DocumentSourceSearcher();
        addResult(new Query("?query=12"), sdName, content, docsource);
        addResult(new Query("?query=12&bolding=false"), sdName, content, docsource);
        return new Chain<>(searcher, docsource);
    }
Creates a search chain which always returns a result with one hit containing information given in this

@param sdName the search definition type of the returned hit
@param content the content of the "dynteaser" field of the returned hit
container-search/src/test/java/com/yahoo/prelude/searcher/test/JuniperSearcherTestCase.java