@Test
    void verifyThatTheOAuthSpecificLogoutPostProcessorApplies() {

        val processors = logoutExecutionPlan.getLogoutPostProcessors();
        assertEquals(1, processors.size());

        val request = new MockHttpServletRequest();
        val response = new MockHttpServletResponse();
        RequestContextHolder.setRequestAttributes(new ServletRequestAttributes(request, response));
        val tgt = mock(TicketGrantingTicket.class);
        val processor = processors.iterator().next();
        processor.handle(tgt);
        verify(OAuthDistributedSessionTestConfiguration.SESSION_STORE).destroySession(any(JEEContext.class));
    }
This is {@link OAuth20LogoutReplicateSessionTests}.

@author Jerome Leleu
@since 6.5.0
support/cas-server-support-oauth/src/test/java/org/apereo/cas/support/oauth/logout/OAuth20LogoutReplicateSessionTests.java