@Test
        void verifyBadEndpointRequest() throws Throwable {
            val id = UUID.randomUUID().toString();
            val request = getHttpRequestForEndpoint(OidcConstants.AUTHORIZE_URL);
            request.setMethod(HttpMethod.GET.name());
            request.setParameter(OAuth20Constants.CLIENT_ID, id);
            val response = new MockHttpServletResponse();
            val mv = oidcAuthorizeEndpointController.handleRequest(request, response);
            assertEquals(HttpStatus.FORBIDDEN, 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