private static MockHttpServletRequest getJwtRequest() {
        val request = new MockHttpServletRequest();
        val claims = new JWTClaimsSet.Builder().subject("cas")
            .claim("scope", new String[]{"openid", "profile"})
            .claim("response", "code")
            .claim("client_id", List.of("client1", "client2"))
            .build();
        val jwt = new PlainJWT(claims);
        val jwtString = jwt.serialize();
        request.removeAllParameters();
        request.addParameter(OAuth20Constants.REQUEST, jwtString);
        return request;
    }
This is {@link DefaultOAuth20RequestParameterResolverTests}.

@author Misagh Moayyed
@since 6.6.0
support/cas-server-support-oidc/src/test/java/org/apereo/cas/oidc/web/DefaultOAuth20RequestParameterResolverTests.java