private static Service getService(final String id) {
        val service = mock(WebApplicationService.class);
        when(service.getId()).thenReturn(id);
        when(service.getOriginalUrl()).thenReturn(id);
        return service;
    }
This is {@link DefaultServiceMatchingStrategyTests}.

@author Misagh Moayyed
@since 6.3.0
core/cas-server-core-services-authentication/src/test/java/org/apereo/cas/authentication/principal/DefaultServiceMatchingStrategyTests.java