@Test
    void verifyAction() {
        try (val webServer = new MockWebServer("template")) {
            webServer.start();
            val props = new CasConfigurationProperties();
            props.getView().getRest().setUrl("http://localhost:%s".formatted(webServer.getPort()));
            val themeResolver = new FixedThemeResolver();
            themeResolver.setDefaultThemeName("sample-theme");
            val resolver = new RestfulUrlTemplateResolver(props, themeResolver);
            val res = resolver.resolveTemplate(mock(IEngineConfiguration.class), "cas",
                "template", new LinkedHashMap<>());
            assertNotNull(res);
        }
    }
This is {@link RestfulUrlTemplateResolverTests}.

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