@Test
    void verifyAccessTokenRevocation() throws Throwable {
        val registeredService = getOidcRegisteredService(UUID.randomUUID().toString());
        servicesManager.save(registeredService);

        val token = getAccessToken(registeredService.getClientId());
        ticketRegistry.addTicket(token.getTicketGrantingTicket());
        ticketRegistry.addTicket(token);

        mockMvc.perform(post("/cas/" + OidcConstants.BASE_OIDC_URL + '/' + OidcConstants.REVOCATION_URL)
                .secure(true)
                .param(OAuth20Constants.CLIENT_ID, registeredService.getClientId())
                .param(OAuth20Constants.CLIENT_SECRET, registeredService.getClientSecret())
                .param(OAuth20Constants.TOKEN, token.getId())
                .with(withHttpRequestProcessor())
            )
            .andExpect(status().isOk());
        assertNull(ticketRegistry.getTicket(token.getId()));
    }
This is {@link OidcRevocationEndpointControllerTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-oidc/src/test/java/org/apereo/cas/oidc/web/controllers/token/OidcRevocationEndpointControllerTests.java