@ConditionalOnMissingBean(name = "inMemoryRegisteredServices")
    @Bean
    @Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE)
    public List inMemoryRegisteredServices() throws Exception {
        return RegisteredServiceTestUtils.getRegisteredServicesForTests();
    }
This is {@link CasRegisteredServicesTestConfiguration}.

@author Misagh Moayyed
@since 5.2.0
core/cas-server-core/src/test/java/org/apereo/cas/config/CasRegisteredServicesTestConfiguration.java