@Test
    public void verifySigningWithConfigurationOverride() throws Exception {
        val configuration = new SAML2Configuration();
        configuration.setSignatureAlgorithms(List.of("http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"));
        configuration.setSignatureReferenceDigestMethods(List.of("http://www.w3.org/2001/04/xmlenc#sha256"));
        verifyMetadataSigning(configuration);
    }
This is {@link DefaultSAML2MetadataSignerTests}.

@author Misagh Moayyed
@since 5.4.4
pac4j-saml/src/test/java/org/pac4j/saml/metadata/DefaultSAML2MetadataSignerTests.java