@Test
    void verifyDelegatedLogoutRequestRedirect() throws Throwable {
        val context = MockRequestContext.create(applicationContext).withUserAgent();
        context.setParameter(Pac4jConstants.DEFAULT_CLIENT_NAME_PARAMETER, "CasClient");
        context.setRequestAttribute(SingleLogoutContinuation.class.getName(), SingleLogoutContinuation.builder().content("content").build());
        val logoutRequest = DelegatedAuthenticationClientLogoutRequest.builder()
            .target("https://google.com")
            .status(200)
            .build();
        DelegationWebflowUtils.putDelegatedAuthenticationLogoutRequest(context, logoutRequest);
        assertEquals(CasWebflowConstants.TRANSITION_ID_LOGOUT, action.execute(context).getId());
        assertNotNull(WebUtils.getLogoutRedirectUrl(context.getHttpServletRequest(), String.class));
        assertNull(WebUtils.getCredential(context));
        assertNotNull(context.getConversationScope().get(SingleLogoutContinuation.class.getName()));
    }
This is {@link DelegatedAuthenticationIdentityProviderFinalizeLogoutActionTests}.

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