@Test
    void verifyOperation() {
        val handler = new WsFederationAuthenticationHandler(UUID.randomUUID().toString(), servicesManager,
            PrincipalFactoryUtils.newPrincipalFactory(), 0);
        assertTrue(handler.supports(getCredential()));
        assertTrue(handler.supports(getCredential().getClass()));
        assertThrows(FailedLoginException.class, () -> handler.authenticate(null, mock(Service.class)));
    }
This is {@link WsFederationAuthenticationHandlerTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-wsfederation/src/test/java/org/apereo/cas/support/wsfederation/authentication/handler/support/WsFederationAuthenticationHandlerTests.java