@Test
        void verifyOidcLogoutWithStateParam() throws Throwable {
            val request = mockMvc.perform(get("/cas/oidc/logout")
                    .with(withHttpRequestProcessor())
                    .queryParam(OAuth20Constants.STATE, UUID.randomUUID().toString())
                )
                .andExpect(status().isOk())
                .andExpect(request().attribute("status", HttpStatus.PERMANENT_REDIRECT))
                .andReturn()
                .getRequest();
            val redirectUrl = WebUtils.getLogoutRedirectUrl(request, String.class);
            assertNull(redirectUrl);
        }
This is {@link OidcLogoutEndpointControllerTests}.

@author Julien Huon
@since 6.1.0
support/cas-server-support-oidc/src/test/java/org/apereo/cas/oidc/web/controllers/logout/OidcLogoutEndpointControllerTests.java