private Hit createHit(String id, double relevancy, boolean addSyntheticFields, String... fieldNames) {
        Hit h = new Hit(id, relevancy);
        h.setFillable();
        int i = 0;
        for (String field : fieldNames)
            h.setField(field, ++i);
        if (addSyntheticFields) {
            for (String field : syntheticFields)
                h.setField(field, ++i);
        }
        return h;
    }
Smoketest that we remove fields in a sane manner.

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