private String transformQuery(String rawQuery) {
        Query query = new Query(QueryTestCase.httpEncode(rawQuery));
        new Execution(new LiteralBoostSearcher(), Execution.Context.createContextStub(createIndexFacts())).search(query);
        return query.getModel().getQueryTree().getRoot().toString();
    }
Tests the complete field match query transformer

@author Steinar Knutsen
container-search/src/test/java/com/yahoo/prelude/querytransform/test/LiteralBoostSearcherTestCase.java