@Test
    void missing_security_clients_pem_fails_in_public() {
        Element clusterElem = DomBuilderTest.parse("<container version='1.0' />");

        DeployState state = new DeployState.Builder()
                .properties(
                        new TestProperties()
                                .setHostedVespa(true)
                                .setEndpointCertificateSecrets(Optional.of(new EndpointCertificateSecrets("CERT", "KEY"))))
                .zone(new Zone(SystemName.Public, Environment.prod, RegionName.defaultName()))
                .build();
        RuntimeException e = assertThrows(RuntimeException.class, () -> createModel(root, state, null, clusterElem));
        assertEquals("Client certificate authority security/clients.pem is missing - see: https://docs.vespa.ai/en/cloud/security/guide.html#data-plane",
                e.getMessage());
    }
@author gjoranv
@author bjorncs
@author mortent
config-model/src/test/java/com/yahoo/vespa/model/container/xml/AccessControlTest.java