protected Query assertSemantics(String result, Query query) {
        createExecution(searcher).search(query);
        assertEquals(result, query.getModel().getQueryTree().getRoot().toString());
        return query;
    }
DO NOT USE. Use RuleBaseTester instead

@author bratseth
container-search/src/test/java/com/yahoo/prelude/semantics/test/RuleBaseAbstractTestCase.java