protected void assertAuthorizersAndMatchers(final Authorizer authorizer1, final Authorizer authorizer2,
                                  final Matcher matcher1, final Matcher matcher2) {
        assertEquals(KEY + "," + VALUE, endpoint.getClients());
        final String[] authorizerNames = endpoint.getAuthorizers().split(",");
        assertAuthorizer(config, authorizerNames[0], authorizer1, 2);
        assertAuthorizer(config, authorizerNames[1], authorizer2, 2);
        final String[] matcherNames = endpoint.getMatchers().split(",");
        assertMatcher(config, matcherNames[0], matcher1, 2);
        assertMatcher(config, matcherNames[1], matcher2, 2);
    }
Tests {@link SecurityEndpointBuilder}.

@author Jerome LELEU
@since 5.5.0
pac4j-core/src/test/java/org/pac4j/core/util/security/SecurityEndpointBuilderTests.java