@Test
    void verifyRenderException() {
        val response = new MockHttpServletResponse();
        JsonUtils.renderException(new RuntimeException("error"), response);
        assertEquals(HttpStatus.BAD_REQUEST.value(), response.getStatus());
    }
This is {@link JsonUtilsTests}.

@author Misagh Moayyed
@since 6.1.0
core/cas-server-core-util/src/test/java/org/apereo/cas/util/JsonUtilsTests.java