private static RegisteredService newService(final String name) {
        val service = new CasRegisteredService();
        service.setServiceId("^https?://.*");
        service.setName(name);
        service.setId(1000L);
        service.setDescription("Test description");
        return service;
    }
This is {@link DefaultRegisteredServiceReplicationStrategyTests}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-services-registry/src/test/java/org/apereo/cas/services/replication/DefaultRegisteredServiceReplicationStrategyTests.java