@Test
    void verifyDirectView() throws Throwable {
        val resolver = themeViewResolverFactory.create(ThemeProperties.DEFAULT_THEME_NAME);
        val view = resolver.resolveViewName("oneCustomView", Locale.ENGLISH);
        assertNotNull(view);
        assertTrue(((AbstractThymeleafView) view).getStaticVariables().containsKey("cas"));
        assertTrue(((AbstractThymeleafView) view).getStaticVariables().containsKey("casProperties"));
    }
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