@Test
    void verifyScopesCanBeExtracted() {
        val request = new MockHttpServletRequest();
        request.setParameter("scope", "openid profile email");
        request.setParameter("keyword", "hello world");
        val response = new MockHttpServletResponse();
        val context = new JEEContext(request, response);
        assertEquals(3, oauthRequestParameterResolver.resolveRequestScopes(context).size());
        assertEquals(2, oauthRequestParameterResolver.resolveRequestParameters(context, "keyword").size());
    }
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