@Test
    void testListVariantPropertiesCompounds1Simplified() {
        QueryProfile main = new QueryProfile("main");
        main.setDimensions(new String[]{"x", "y"});
        main.set("a.p1", "main-a-x1", new String[]{"x1"}, null);

        QueryProfile inheritedVariant1 = new QueryProfile("inheritedVariant1");
        inheritedVariant1.set("a.p1", "inheritedVariant1-a", null);
        main.addInherited(inheritedVariant1, new String[]{"x1"});

        Properties properties = new QueryProfileProperties(main.compile(null));

        // Context x=x1
        Map<String, Object> listed = properties.listProperties(toMap(main, new String[]{"x1"}));
        assertEquals("main-a-x1", listed.get("a.p1"));
    }
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