use of org.thymeleaf.spring5.templateresolver.SpringResourceTemplateResolver in project spring-boot by spring-projects.
the class LocalDevToolsAutoConfigurationTests method defaultPropertyCanBeOverriddenFromCommandLine.
@Test
public void defaultPropertyCanBeOverriddenFromCommandLine() throws Exception {
this.context = initializeAndRun(Config.class, "--spring.thymeleaf.cache=true");
SpringResourceTemplateResolver resolver = this.context.getBean(SpringResourceTemplateResolver.class);
assertThat(resolver.isCacheable()).isTrue();
}
Aggregations