@Bean
        @ConditionalOnMissingBean(name = ServicesManager.BEAN_NAME)
        public ChainingServicesManager servicesManager() {
            return mock(ChainingServicesManager.class);
        }
This is {@link JaasAuthenticationHandlersConfigurationTests}.

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