@Bean
            public AuthenticationEventExecutionPlanConfigurer authenticationPlanConfigurer() {
                return plan -> {
                    val h1 = new AcceptUsersAuthenticationHandler("Handler1");
                    val h2 = new AcceptUsersAuthenticationHandler(h1.getName());
                    assertEquals(h1, h2);

                    assertTrue(plan.registerAuthenticationHandler(h1));
                    assertFalse(plan.registerAuthenticationHandler(h2));
                    h2.setState(AuthenticationHandlerStates.STANDBY);
                    assertTrue(plan.registerAuthenticationHandler(h2));
                };
            }
This is {@link DefaultAuthenticationEventExecutionPlanTests}.

@author Misagh Moayyed
@since 6.3.0
core/cas-server-core-authentication/src/test/java/org/apereo/cas/authentication/DefaultAuthenticationEventExecutionPlanTests.java