@Override
        @CanIgnoreReturnValue
        public BaseRegisteredService setServiceId(final String id) {
            serviceId = id;
            return this;
        }
Unit test for {@link BaseRegisteredService}.

@author Marvin S. Addison
@since 3.4.12
core/cas-server-core-services/src/test/java/org/apereo/cas/services/RegisteredServiceTests.java