@Test
        void verifyOperation() {
            val privateKey = new StringWriter();
            val certificate = new StringWriter();
            samlSelfSignedCertificateWriter.writeCertificateAndKey(privateKey, certificate);
            assertNotNull(privateKey.toString());
            assertNotNull(certificate.toString());
        }
This is {@link DefaultSamlIdPCertificateAndKeyWriterTests}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-saml-idp/src/test/java/org/apereo/cas/support/saml/idp/metadata/writer/DefaultSamlIdPCertificateAndKeyWriterTests.java