@Test
    void verifyOperationWithRedirect() throws Throwable {
        val context = MockRequestContext.create(applicationContext).withUserAgent().setClientInfo();
        DelegationWebflowUtils.putDelegatedAuthenticationClientName(context, "CasClient");
        val result = retryAction.execute(context);
        assertNull(result);
        assertNotNull(context.getHttpServletResponse().getHeaderValue("Location"));
        assertEquals(HttpStatus.FOUND.value(), context.getHttpServletResponse().getStatus());
    }
This is {@link DelegatedAuthenticationClientRetryActionTests}.

@author Misagh Moayyed
@since 6.4.0
support/cas-server-support-pac4j-webflow/src/test/java/org/apereo/cas/web/flow/actions/DelegatedAuthenticationClientRetryActionTests.java