@Test
        void verifyUnknownPrompt() throws Throwable {
            val id = UUID.randomUUID().toString();
            val service = getOidcRegisteredService(id);
            service.setBypassApprovalPrompt(true);
            servicesManager.save(service);

            val mockRequest = getHttpRequestForEndpoint(OidcConstants.AUTHORIZE_URL);
            mockRequest.setMethod(HttpMethod.GET.name());
            mockRequest.setParameter(OAuth20Constants.CLIENT_ID, id);
            mockRequest.setParameter(OAuth20Constants.PROMPT, "unknown");
            mockRequest.setContextPath(StringUtils.EMPTY);
            mockRequest.setQueryString(OAuth20Constants.PROMPT + "=unknown");
            val mockResponse = new MockHttpServletResponse();
            val mv = oidcAuthorizeEndpointController.handleRequest(mockRequest, mockResponse);
            assertEquals(HttpStatus.BAD_REQUEST, mv.getStatus());
        }
This is {@link OidcAuthorizeEndpointControllerTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-oidc/src/test/java/org/apereo/cas/oidc/web/controllers/authorize/OidcAuthorizeEndpointControllerTests.java