@Test
    void verifyOperation() throws Throwable {
        val view = thymeleafViewResolver.resolveViewName("testTemplate", Locale.ENGLISH);
        assertNotNull(view);
        assertTrue(((AbstractThymeleafView) view).getStaticVariables().containsKey("cas"));
        assertTrue(((AbstractThymeleafView) view).getStaticVariables().containsKey("casProperties"));

        val request = new MockHttpServletRequest();
        val response = new MockHttpServletResponse();

        view.render(Map.of(), request, response);
        val body = response.getContentAsString();
        assertNotNull(body);
    }
This is {@link CasThymeleafViewResolverConfigurerTests}.

@author Misagh Moayyed
@since 6.4.0
support/cas-server-support-thymeleaf/src/test/java/org/apereo/cas/services/web/CasThymeleafViewResolverConfigurerTests.java