final ResponseCachingDirectives cachingDirectives =
envContext.getCachingDirectives();
cachingDirectives.enable();
cachingDirectives.setMaxAge(Period.inSeconds(50),
ResponseCachingDirectives.PRIORITY_NORMAL);
cachingDirectives.disable();
envContext.applyCachingDirectives();
assertEquals("no-cache", response.getHeader("Pragma"));
assertEquals("no-cache", response.getHeader("Cache-Control"));
final Calendar calendar =