@Test
    void verifyTargetMatchingSamlService() {
        val request = new MockHttpServletRequest();
        request.setParameter(SamlProtocolConstants.CONST_PARAM_TARGET, "https://some.service.edu/path/to/app");

        val service = new DefaultArgumentExtractor(List.of(samlServiceFactory)).extractService(request);
        val impl = new DefaultArgumentExtractor(List.of(samlServiceFactory)).extractService(request);
        val manager = mock(ServicesManager.class);
        assertTrue(new DefaultServiceMatchingStrategy(manager).matches(impl, service));
    }
Test cases for {@link SamlService}.

@author Scott Battaglia
@since 3.1
support/cas-server-support-saml/src/test/java/org/apereo/cas/support/saml/authentication/principal/SamlServiceTests.java