@Test
    void testTenantAndAppInSentinelConfig() {
        DeployState state = new DeployState.Builder()
                .zone(new Zone(Environment.dev, RegionName.from("baz")))
                .properties(new TestProperties()
                        .setApplicationId(new ApplicationId.Builder()
                                .tenant("quux")
                                .applicationName("foo")
                                .instanceName("bim")
                                .build()))
                .build();
        TestRoot root = new TestDriver().buildModel(state);
        String localhost = HostName.getLocalhost();
        SentinelConfig config = root.getConfig(SentinelConfig.class, "hosts/" + localhost);
        assertEquals("quux", config.application().tenant());
        assertEquals("foo", config.application().name());
        assertEquals("dev", config.application().environment());
        assertEquals("baz", config.application().region());
        assertEquals("bim", config.application().instance());
    }
Test that a very simple config with only adminserver tag creates
adminserver, logserver, configserver and slobroks
config-model/src/test/java/com/yahoo/vespa/model/admin/AdminTestCase.java