private Result createResult(String sdName, String content, boolean bolding) {
        Chain<Searcher> chain = createSearchChain(sdName, content);
        Query query = new Query("?query=12");
        if ( ! bolding)
            query = new Query("?query=12&bolding=false");
        Execution execution = createExecution(chain);
        Result result = execution.search(query);
        execution.fill(result);
        return result;
    }
Test the XML renderer

@author Steinar Knutsen
@author bratseth
container-search/src/test/java/com/yahoo/search/rendering/XMLRendererTestCase.java