@Test
    void verifyOperationByServiceId() {
        val response = new MockHttpServletResponse();
        val service = RegisteredServiceTestUtils.getService().getId();
        assertDoesNotThrow(() -> samlIdPMetadataController.generateMetadataForIdp(service, response));
        assertDoesNotThrow(() -> samlIdPMetadataController.idpSigningCertificate(service));
        assertDoesNotThrow(() -> samlIdPMetadataController.idpEncryptionCertificate(service));
    }
This is {@link SamlIdPMetadataControllerTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-saml-idp/src/test/java/org/apereo/cas/support/saml/web/idp/metadata/SamlIdPMetadataControllerTests.java