@Test
    void verifyBadRedirect() {
        val registrationReq = """
    {
       "redirect_uris": ["https://client.example.org/callback#something", "https://client.example.org/callback2"],
       "request_uris": ["https://client.example.org/rf.txt#qpXaRLh_n93TTR9F252ValdatUQvQiJi5BDub2BeznA"]
      }
    """;

        val request = getHttpRequestForEndpoint(OidcConstants.REGISTRATION_URL);
        val response = new MockHttpServletResponse();
        assertEquals(HttpStatus.SC_BAD_REQUEST, controller.handleRequestInternal(registrationReq, request, response).getStatusCode().value());
    }
This is {@link OidcDynamicClientRegistrationEndpointControllerTests}.

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