@Override
    public boolean delete(final RegisteredService registeredService) {
        return !registeredServices.contains(registeredService)
            || registeredServices.removeIf(rs -> rs.getId() == registeredService.getId());
    }
Default In Memory Service Registry Dao for test/demonstration purposes.

@author Scott Battaglia
@since 3.1
core/cas-server-core-services-registry/src/main/java/org/apereo/cas/services/InMemoryServiceRegistry.java