private void renderView(final String name, final Map model) throws UnsupportedEncodingException {
        val view = casProtocolViewFactory.create(applicationContext, name, MediaType.TEXT_HTML_VALUE);
        val response = new MockHttpServletResponse();
        assertDoesNotThrow(() -> view.render(model, new MockHttpServletRequest(), response));
        assertNotNull(response.getContentAsString());
    }
This is {@link CasMustacheViewTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-thymeleaf/src/test/java/org/apereo/cas/web/view/CasMustacheViewTests.java