@Test
    void verifySupports() throws Throwable {
        val service = getRegisteredService(UUID.randomUUID().toString(), "secret");
        servicesManager.save(service);

        val request = new MockHttpServletRequest();
        val response = new MockHttpServletResponse();
        val context = new JEEContext(request, response);
        assertFalse(validator.supports(context));

        request.setParameter(OAuth20Constants.CLIENT_ID, service.getClientId());
        request.setParameter(OAuth20Constants.REDIRECT_URI, service.getServiceId());
        request.setParameter(OAuth20Constants.RESPONSE_TYPE, OAuth20ResponseTypes.TOKEN.getType());
        request.setParameter(OAuth20Constants.CODE_VERIFIER, "abcd");
        assertFalse(validator.supports(context));

        request.setParameter(OAuth20Constants.RESPONSE_TYPE, OAuth20ResponseTypes.CODE.getType());
        assertTrue(validator.supports(context));
    }
This is {@link OAuth20ProofKeyCodeExchangeResponseTypeAuthorizationRequestValidatorTests}.

@author Julien Huon
@since 6.4.0
support/cas-server-support-oauth/src/test/java/org/apereo/cas/support/oauth/validator/authorization/OAuth20ProofKeyCodeExchangeResponseTypeAuthorizationRequestValidatorTests.java