@Test
    void verifyPromptNoneWithoutProfileWithPostResponseMode() throws Throwable {
        val request = new MockHttpServletRequest();
        val response = new MockHttpServletResponse();
        val context = new JEEContext(request, response);
        request.addParameter(OAuth20Constants.REDIRECT_URI, "https://google.com");
        request.addParameter(OAuth20Constants.STATE, "randomState");
        request.addParameter(OAuth20Constants.NONCE, "nonce");
        request.addParameter(OAuth20Constants.RESPONSE_MODE, OAuth20ResponseModeTypes.FORM_POST.getType());
        request.addParameter(OAuth20Constants.PROMPT, "none");
        val manager = new ProfileManager(context, new JEESessionStore());

        val builder = new URIBuilder();
        request.getParameterMap().forEach((key, values) -> builder.addParameter(key, values[0]));
        request.setQueryString(builder.build().getQuery());
        val url = context.getFullRequestURL();
        val mv = callbackAuthorizeViewResolver.resolve(context, manager, url);
        assertNotNull(mv);
        assertEquals(CasWebflowConstants.VIEW_ID_POST_RESPONSE, mv.getViewName());
        assertTrue(mv.getModel().containsKey("originalUrl"));
        var parameters = (Map<String, String>) mv.getModel().get("parameters");
        assertEquals(request.getParameter(OAuth20Constants.STATE), parameters.get(OAuth20Constants.STATE));
        assertFalse(parameters.containsKey(OAuth20Constants.NONCE));
    }
This is {@link OidcCallbackAuthorizeViewResolverTests}.

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