@Test
    void testCompositeWithoutArguments() {
        URIBuilder builder = searchUri();
        builder.setParameter("yql", "select * from sources * where bar contains \"a\" and foo contains phrase()");
        searchAndAssertNoErrors(builder);
        builder = searchUri();
        builder.setParameter("yql", "select * from sources * where bar contains \"a\" and nonEmpty(foo contains phrase())");
        assertQueryFails(builder);
    }
Tests where you really test YqlParser but need the full Query infrastructure.

@author steinar
container-search/src/test/java/com/yahoo/search/yql/UserInputTestCase.java