@BeforeEach
    public void setUp() throws Exception {
        Query query = new Query("?query=test");

        Result result = new Result(query);
        result.hits().add(createHit("hit1", .1d, false, FIELD_A, FIELD_B, FIELD_C));
        result.hits().add(createHit("hit2", .1d, true, FIELD_A, FIELD_B, FIELD_C));

        DocumentSourceSearcher mockBackend = new DocumentSourceSearcher();
        mockBackend.addSummaryClass("default", Set.of("matchfeatures", "rankfeatures", "summaryfeatures",
                                                      FIELD_A, FIELD_B, FIELD_C));
        mockBackend.addResult(query, result);

        searchChain = new Chain<>(new FieldFilter(), mockBackend);
        context = Execution.Context.createContextStub();
        execution = new Execution(searchChain, context);

    }
Smoketest that we remove fields in a sane manner.

@author Steinar Knutsen
container-search/src/test/java/com/yahoo/search/yql/FieldFilterTestCase.java