@Test
    final void testWithOnlyAttributeNoClassRequested() {
        final Query query = new Query("?query=test&presentation.summaryFields=" + FIELD2);
        Result result = execution.search(query);
        execution.fill(result, null);
        assertEquals(1, result.getConcreteHitCount());
        assertFalse(result.hits().get(0).isFilled(THIRD_OPTION));
        assertFalse(result.hits().get(0).isFilled(DEFAULT_SUMMARY_CLASS));
        assertFalse(result.hits().get(0).isFilled(SORTABLE_ATTRIBUTES_SUMMARY_CLASS));
        assertTrue(result.hits().get(0).isFilled("[f:" + FIELD2 + "]"));
    }
Test translation of fields and sources in YQL to the associated concepts in Vespa.
container-search/src/test/java/com/yahoo/search/yql/YqlFieldAndSourceTestCase.java