@Test
    void verifyRevocationNeedsAuthn() throws Throwable {
        var request = new MockHttpServletRequest();
        var response = new MockHttpServletResponse();
        request.setRequestURI('/' + OAuth20Constants.REVOCATION_URL);
        assertFalse(oauthHandlerInterceptorAdapter.preHandle(request, response, new Object()));

        request = new MockHttpServletRequest();
        response = new MockHttpServletResponse();
        request.setRequestURI('/' + OAuth20Constants.REVOCATION_URL);
        request.setParameter(OAuth20Constants.CLIENT_ID, "unknown123456");
        assertFalse(oauthHandlerInterceptorAdapter.preHandle(request, response, new Object()));
    }
This is {@link OAuth20HandlerInterceptorAdapterTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-oauth/src/test/java/org/apereo/cas/support/oauth/web/OAuth20HandlerInterceptorAdapterTests.java