@Test
        void verifyClient() {
            val clients = delegatedIdentityProviderFactory.build();
            assertEquals(2, clients.size());
            clients.forEach(client -> {
                val saml2Client = (SAML2Client) client;
                assertTrue(saml2Client.isInitialized());
                assertInstanceOf(HttpSessionStoreFactory.class, saml2Client.getConfiguration().getSamlMessageStoreFactory());
                assertNotNull(saml2Client.getIdentityProviderMetadataResolver().getEntityId());
            });
        }
This is {@link DelegatedSaml2IdentityProviderTests}.

@author Misagh Moayyed
@since 7.1.0
support/cas-server-support-pac4j-saml/src/test/java/org/apereo/cas/web/saml2/DelegatedSaml2IdentityProviderTests.java