@Test
    void verifyRequestOperation() throws Throwable {
        val context = MockRequestContext.create(applicationContext);
        WebUtils.putServiceIntoFlowScope(context, CoreAuthenticationTestUtils.getWebApplicationService());
        wsFederationAction.execute(context);
        wsFederationRedirectAction.execute(context);
        assertEquals(HttpStatus.FOUND.value(), context.getHttpServletResponse().getStatus());
        assertTrue(context.getHttpServletResponse().getHeader("Location").startsWith(
            serverProperties.getServlet().getContextPath() + WsFederationNavigationController.ENDPOINT_REDIRECT));
    }
This is {@link WsFederationClientRedirectActionTests}.

@author Misagh Moayyed
@since 6.5.0
support/cas-server-support-wsfederation-webflow/src/test/java/org/apereo/cas/web/flow/WsFederationClientRedirectActionTests.java