@Test
    void verifyOperation() throws Throwable {
        val request = new MockHttpServletRequest();
        val response = new MockHttpServletResponse();
        val view = new DynamicHtmlView("<p>Hello</p>");
        assertEquals(MediaType.TEXT_HTML_VALUE, view.getContentType());
        assertDoesNotThrow(() -> view.render(Map.of(), request, response));
        assertNotNull(response.getContentAsString());
    }
This is {@link DynamicHtmlViewTests}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-web/src/test/java/org/apereo/cas/web/view/DynamicHtmlViewTests.java