@Test
    void testIt() {
        QueryProfile p = new QueryProfile("test");
        p.setDimensions(new String[]{"x"});
        p.set("a", "a-default", (QueryProfileRegistry) null);
        p.set("a", "a-x1", new String[]{"x1"}, null);
        p.set("a", "a-+x1", new String[]{"+x1"}, null);
        Query q1 = new Query(QueryTestCase.httpEncode("?query=foo"), p.compile(null));
        assertEquals("a-default", q1.properties().get("a"));
        Query q2 = new Query(QueryTestCase.httpEncode("?query=foo&x=x1"), p.compile(null));
        assertEquals("a-x1", q2.properties().get("a"));
        Query q3 = new Query(QueryTestCase.httpEncode("?query=foo&x=+x1"), p.compile(null));
        assertEquals("a-+x1", q3.properties().get("a"));
    }
Tests that dimension arguments in queries are transferred correctly to dimension values

@author bratseth
container-search/src/test/java/com/yahoo/search/query/properties/test/RequestContextPropertiesTestCase.java