@Test
    void testNamedConditionReturnComparison() {
        // Not sufficient that both conditions are matched
        assertSemantics("AND borneo arabica island:borneo coffee:arabica", "borneo arabica");

        // They must match the same word
        assertSemantics("AND java noise island:java coffee:java control:ambigous off", "java noise");

        // Works also when there are other, not-equal matches
        assertSemantics("AND borneo arabica java island:borneo island:java coffee:arabica coffee:java control:ambigous off",
                "borneo arabica java");
    }
Tests that we can wriote rules which depends on the <i>same term</i> (java) being matched by two
different conditions (coffee, island)
container-search/src/test/java/com/yahoo/prelude/semantics/test/ComparisonTestCase.java