@Test
    void testZoneInfoInContextWithUnoverridability() {
        QueryProfileRegistry registry = new QueryProfileRegistry();
        QueryProfile profile = new QueryProfile("test");
        profile.setDimensions(new String[]{"instance", "environment", "region"});
        profile.set("value", "default", registry);
        profile.set("value", "prod-beta",
                toMap("environment=prod", "instance=beta"),
                registry);
        profile.setOverridable("value", false, toMap("environment=prod", "instance=beta"));
        registry.register(profile);

        CompiledQueryProfileRegistry cRegistry = registry.compile();
        CompiledQueryProfile cTest = cRegistry.findQueryProfile("test");

        assertValueForZone("prod-beta",
                new ZoneInfo(new ApplicationId("tenant1", "application1", "beta"),
                        new Zone(Environment.prod, "region1")),
                "fromRequest",
                cTest);
    }
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