@Test
    void verifyRenderModel() throws Throwable {
        val response = new MockHttpServletResponse();
        val model = Map.of("key", List.of("one", "two"));
        JsonUtils.render(model, response);
        assertEquals(HttpStatus.OK.value(), response.getStatus());
        val content = response.getContentAsString();
        assertNotNull(MAPPER.readValue(content, Map.class));
    }
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