@Test
    public void testProgrammaticYqlParsing() {
        Execution execution = new Execution(Execution.Context.createContextStub());
        Parser parser = ParserFactory.newInstance(Query.Type.YQL,
                                                  ParserEnvironment.fromExecutionContext(execution.context()));
        Query query = new Query();
        query.getModel().setType(Query.Type.YQL);
        query.getModel().setQueryString("select * from myDoc where foo contains 'bar' and fuz contains '3'");
        parser.parse(Parsable.fromQueryModel(query.getModel()));
    }
Verifies that we can search for a backslash
container-search/src/test/java/com/yahoo/search/yql/YqlParserTestCase.java