private QueryTree assertParseFail(String yqlQuery, Throwable expectedException) {
        QueryTree query = null;
        try {
            query = parse(yqlQuery);
        } catch (Throwable t) {
            assertEquals(expectedException.getClass(), t.getClass());
            assertEquals(expectedException.getMessage(), t.getMessage());
            return query;
        }
        fail("Parse succeeded: " + yqlQuery);
        return query;
    }
Verifies that we can search for a backslash
container-search/src/test/java/com/yahoo/search/yql/YqlParserTestCase.java