@Test
    void verifyPostBackChannelOidcLogoutOperation() throws Throwable {
        val context = MockRequestContext.create(applicationContext);
        context.setMethod(HttpMethod.POST);
        context.setParameter(Pac4jConstants.DEFAULT_CLIENT_NAME_PARAMETER, "OidcClient");

        val sessionIdx = UUID.randomUUID().toString();
        val clientCredentials = new ClientCredential(new SessionKeyCredentials(LogoutType.BACK, sessionIdx), "OidcClient");
        val tgt = new MockTicketGrantingTicket(UUID.randomUUID().toString(), clientCredentials, Map.of("sid", List.of(sessionIdx)));
        ticketRegistry.addTicket(tgt);
        WebUtils.putCredential(context, clientCredentials);

        assertEquals(CasWebflowConstants.TRANSITION_ID_SUCCESS, action.execute(context).getId());
        assertNull(ticketRegistry.getTicket(tgt.getId()));
    }
This is {@link DelegatedClientOidcLogoutActionTests}.

@author Misagh Moayyed
@since 7.1.0
support/cas-server-support-pac4j-oidc/src/test/java/org/apereo/cas/web/flow/DelegatedClientOidcLogoutActionTests.java