public Optional<EndpointCertificateSecrets> readEndpointCertificateSecrets(EndpointCertificateMetadata metadata) {
        return Optional.of(readFromSecretStore(metadata));
    }
@Test
    void returns_missing_when_cert_version_not_found() {
        DefaultEndpointCertificateSecretStore defaultEndpointCertificateSecretStore = new DefaultEndpointCertificateSecretStore(new MockSecretStore());
        TestEndpointCertificateSecretStore zerosslStore = new TestEndpointCertificateSecretStore(null, null);
        EndpointCertificateRetriever retriever = new EndpointCertificateRetriever(List.of(defaultEndpointCertificateSecretStore, zerosslStore));
        {
            Optional<EndpointCertificateSecrets> endpointCertificateSecrets = retriever.readEndpointCertificateSecrets(
                    new EndpointCertificateMetadata("key", "cert", 1, EndpointCertificateMetadata.Provider.digicert));
            Assertions.assertTrue(endpointCertificateSecrets.isPresent());
            Assertions.assertTrue(endpointCertificateSecrets.get().isMissing());
        }
        {
            Optional<EndpointCertificateSecrets> endpointCertificateSecrets = retriever.readEndpointCertificateSecrets(
                    new EndpointCertificateMetadata("key", "cert", 1, EndpointCertificateMetadata.Provider.zerossl));
            Assertions.assertTrue(endpointCertificateSecrets.isPresent());
            Assertions.assertTrue(endpointCertificateSecrets.get().isMissing());
        }
    }