### Question:
TrimouViewResolver extends AbstractTemplateViewResolver { @Override public boolean isCache() { return engine.getConfiguration().getBooleanPropertyValue(EngineConfigurationKey.TEMPLATE_CACHE_ENABLED) && !engine.getConfiguration().getBooleanPropertyValue(EngineConfigurationKey.DEBUG_MODE) && super.isCache(); } TrimouViewResolver();  TrimouViewResolver(final MustacheEngine engine); @Override boolean isCache(); void setEngine(final MustacheEngine engine); @Override void setPrefix(final String prefix); @Override void setSuffix(final String suffix);  }### Answer:
@Test public void cacheEnabled() throws Exception { assertThat(resolver.isCache(), is(true)); }