@Test
    void verifyLogoutPost() throws Throwable {
        val context = MockRequestContext.create(applicationContext);
        WebUtils.putLogoutPostUrl(context, URL);
        val data = new HashMap<String, Object>();
        data.put("SAMLResponse", "xyz");
        WebUtils.putLogoutPostData(context, data);
        val result = action.execute(context);
        assertEquals(CasWebflowConstants.TRANSITION_ID_POST, result.getId());
        assertEquals(URL, context.getFlowScope().get("originalUrl"));
        assertEquals(data, context.getFlowScope().get("parameters"));
    }
This is {@link FinishLogoutActionTests}.

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