private ServiceTicketValidationAuthorizer getAuthorizer(final AuthenticationPolicy policy,
                                                            final List<? extends AuthenticationHandler> authenticationHandlers) {
        val plan = new DefaultAuthenticationEventExecutionPlan(new DefaultAuthenticationHandlerResolver(), tenantExtractor);
        plan.registerAuthenticationHandlers(authenticationHandlers);
        plan.registerAuthenticationPolicy(policy);
        return new AuthenticationPolicyAwareServiceTicketValidationAuthorizer(servicesManager, plan, applicationContext);
    }
This is {@link AuthenticationPolicyAwareServiceTicketValidationAuthorizerTests}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-validation/src/test/java/org/apereo/cas/validation/AuthenticationPolicyAwareServiceTicketValidationAuthorizerTests.java