@Test
    void testUserLanguageIsDetectedWithUserQueryEnglish() {
        Query query = new Query("search/?query=executions&yql=" +
                                encode("select * from sources where userQuery()"));
        Result result = execution.search(query);
        assertNull(result.hits().getError());
        assertEquals(Language.ENGLISH, query.getModel().getParsingLanguage()); // by UNKNOWN -> ENGLISH
        assertEquals("WEAKAND(100) executions", query.getModel().getQueryTree().toString());
    }
Smoke test for first generation YQL+ integration.
container-search/src/test/java/com/yahoo/search/yql/MinimalQueryInserterTestCase.java