@Override
    public ServiceRegistry getNewServiceRegistry() {
        return new InMemoryServiceRegistry(applicationContext);
    }
This is test cases for {@link InMemoryServiceRegistry}.

@author Misagh Moayyed
@since 4.1.0
core/cas-server-core-services/src/test/java/org/apereo/cas/services/InMemoryServiceRegistryTests.java