@Test
    void verifyBadEndpointRequest() throws Throwable {
        val request = getHttpRequestForEndpoint("unknown/issuer");
        request.setRequestURI("unknown/issuer");
        val response = new MockHttpServletResponse();
        val mv = oidcUserProfileEndpointController.handlePostRequest(request, response);
        assertEquals(HttpStatus.BAD_REQUEST, mv.getStatusCode());
    }
This is {@link OidcUserProfileEndpointControllerTests}.

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