@Test
    void access_control_is_implicitly_added_for_hosted_apps() {
        Http http = createModelAndGetHttp("<container version='1.0'/>");
        Optional<AccessControl> maybeAccessControl = http.getAccessControl();
        assertTrue(maybeAccessControl.isPresent());
        AccessControl accessControl = maybeAccessControl.get();
        assertEquals(AccessControl.ClientAuthentication.need, accessControl.clientAuthentication);
        assertEquals("my-tenant-domain", accessControl.domain);
    }
@author gjoranv
@author bjorncs
@author mortent
config-model/src/test/java/com/yahoo/vespa/model/container/xml/AccessControlTest.java