@Test
    void testSearcher() {
        assertSemantics("WEAKAND(100) vehiclebrand:skoda", "vw cars",   "grandchild");
        assertSemantics("WEAKAND(100) vehiclebrand:skoda", "vw cars",   "grandchild.sd");
        try {
            assertSemantics("WEAKAND(100) vw cars",    "vw cars",   "doesntexist");
            fail("No exception on missing rule base");
        }
        catch (RuleBaseException e) {
            // Success
        }
        assertSemantics("WEAKAND(100) vw cars",       "vw cars",   "grandchild.sd&rules.off");
        assertSemanticsRulesOff("WEAKAND(100) vw cars",       "vw cars");

        assertSemantics("WEAKAND(100) vw car",        "vw cars",   "child2");
        assertSemantics("WEAKAND(100) vehiclebrand:skoda", "skoda cars", "child2");

        assertSemantics("WEAKAND(100) vehiclebrand:skoda", "audi cars", "child1");
        assertSemantics("WEAKAND(100) vehiclebrand:skoda", "vw cars",   "child1");
        assertSemantics("WEAKAND(100) skoda car",     "skoda cars", "child1");

        assertSemantics("WEAKAND(100) vw car",        "vw cars",   "parent");
        assertSemantics("WEAKAND(100) skoda car",     "skoda cars", "parent");
    }
Tests creating a set of rule bases (the same set as in inheritingrules) from config

@author bratseth
container-search/src/test/java/com/yahoo/prelude/semantics/test/ConfigurationTestCase.java