@Test
    void verifyOperation() {
        val factory = new CasProtocolThymeleafViewFactory(springTemplateEngine, thymeleafProperties);
        val view = (CasThymeleafView) factory.create(applicationContext, "login/casLoginView");
        assertNotNull(view);
        assertNotNull(view.toString());
        assertNotNull(view.getLocale());
    }
This is {@link CasProtocolThymeleafViewFactoryTests}.

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