@Test
    void verifyOperationClientSecretPost() throws Throwable {
        val request = new MockHttpServletRequest();
        val response = new MockHttpServletResponse();

        request.setParameter(OAuth20Constants.CLIENT_ID, supportingService.getClientId());
        request.setParameter(OAuth20Constants.CLIENT_SECRET, RequestValidatorTestUtils.SHARED_SECRET);
        request.setParameter(OAuth20Constants.TOKEN, SUPPORTING_SERVICE_TICKET);

        assertTrue(validator.validate(new JEEContext(request, response)));

        request.removeAllParameters();
        request.setParameter(OAuth20Constants.CLIENT_ID, supportingService.getClientId());
        request.setParameter(OAuth20Constants.CLIENT_SECRET, RequestValidatorTestUtils.SHARED_SECRET);
        assertFalse(validator.supports(new JEEContext(request, response)));

        request.removeAllParameters();
        request.setParameter(OAuth20Constants.CLIENT_ID, "unknown");
        request.setParameter(OAuth20Constants.CLIENT_SECRET, RequestValidatorTestUtils.SHARED_SECRET);
        request.setParameter(OAuth20Constants.TOKEN, SUPPORTING_SERVICE_TICKET);
        assertFalse(validator.validate(new JEEContext(request, response)));
    }
This is {@link OAuth20RevocationRequestValidatorTests}.

@author Julien Huon
@since 6.2.0
support/cas-server-support-oauth/src/test/java/org/apereo/cas/support/oauth/validator/token/OAuth20RevocationRequestValidatorTests.java