@Test
    void verifySupports() {
        assertFalse(wsFederationAuthenticationServiceSelectionStrategy.supports(null));

        val service = RegisteredServiceTestUtils.getService("https://cas.com");
        assertFalse(wsFederationAuthenticationServiceSelectionStrategy.supports(service));

        val service1 = RegisteredServiceTestUtils.getService("https://cas.com?" + WSFederationConstants.WREPLY
            + "=wreply&" + WSFederationConstants.WTREALM + "=realm");
        assertTrue(wsFederationAuthenticationServiceSelectionStrategy.supports(service1));

        val service2 = RegisteredServiceTestUtils.getService("https://cas.com?" + WSFederationConstants.WREPLY + "=wreply");
        assertFalse(wsFederationAuthenticationServiceSelectionStrategy.supports(service2));
        assertEquals(Ordered.HIGHEST_PRECEDENCE, wsFederationAuthenticationServiceSelectionStrategy.getOrder());
    }
This is {@link WSFederationAuthenticationServiceSelectionStrategyTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-ws-idp/src/test/java/org/apereo/cas/ws/idp/authentication/WSFederationAuthenticationServiceSelectionStrategyTests.java