protected SamlRegisteredService getSamlRegisteredService(
        final long id,
        final String entityId,
        final String metadataLocation) {
        val svc = new SamlRegisteredService();
        svc.setName("AggregatedService-" + id);
        svc.setId(id);
        svc.setServiceId(entityId);
        svc.setMetadataLocation(metadataLocation);
        return svc;
    }
This is {@link BaseSamlIdPServicesTests}.

@author Misagh Moayyed
@since 6.0.0
support/cas-server-support-saml-idp-metadata/src/test/java/org/apereo/cas/support/saml/services/BaseSamlIdPServicesTests.java