@Override
        public void configureAuthorizersExecutionPlan(final ServiceTicketValidationAuthorizersExecutionPlan plan) {
            val authz = mock(ServiceTicketValidationAuthorizer.class);
            doThrow(new IllegalArgumentException()).when(authz).authorize(any(),
                argThat(service -> "not-authorized".equals(service.getId())), any());
            plan.registerAuthorizer(authz);
        }
Unit tests for {@link Cas20ResponseView}.

@author Misagh Moayyed
@since 4.0.0
support/cas-server-support-validation/src/test/java/org/apereo/cas/web/view/Cas20ResponseViewTests.java