public static Service getService() {
        val svc = mock(Service.class);
        when(svc.getId()).thenReturn(CONST_TEST_URL);
        return svc;
    }
This is {@link CoreAttributesTestUtils}.

@author Misagh Moayyed
@since 5.2.0
core/cas-server-core-authentication-attributes/src/test/java/org/apereo/cas/CoreAttributesTestUtils.java