@Test
    void testMultipleMatchingVariantsAndDefault() {
        QueryProfile profile = new QueryProfile("test");
        profile.setDimensions(new String[]{"a", "b"});
        profile.set("property1", "property1_default", null);
        profile.set("property1", "property1_variantB", new String[]{null, "b1"}, null);
        profile.set("property2", "property2_variantA", new String[]{"a1", null}, null);
        CompiledQueryProfile cProfile = profile.compile(null);

        Query query = new Query("?a=a1&b=b1&b=b1", cProfile);
        assertEquals("property1_variantB", query.properties().get("property1"));
        assertEquals("property2_variantA", query.properties().get("property2"));
    }
Tests referencing a variant which modifies the dimension set,
and also setting a value within that variants subspace.
container-search/src/test/java/com/yahoo/search/query/profile/test/QueryProfileVariantsTestCase.java