@Test
    void testBasicFill() {
        Chain<Searcher> chain = new Chain<Searcher>(new FillableResultSearcher());
        Execution execution = new Execution(chain, Execution.Context.createContextStub());

        Result result = execution.search(new Query(com.yahoo.search.test.QueryTestCase.httpEncode("?presentation.summary=all")));
        assertNotNull(result.hits().get("a"));
        assertNull(result.hits().get("a").getField("filled"));
        execution.fill(result);
        assertTrue((Boolean) result.hits().get("a").getField("filled"));
    }
Tests basic search chain execution functionality

@author bratseth
container-search/src/test/java/com/yahoo/search/searchchain/test/ExecutionTestCase.java