final MarinerPageContextMock marinerPageContextMock =
new MarinerPageContextMock("marinerPageContextMock", expectations);
final EnvironmentContextMock environmentContextMock =
new EnvironmentContextMock("environmentContextMock", expectations);
cachingDirectives =
new ResponseCachingDirectives(SystemClock.getDefaultInstance());
cachingDirectives.enable();
assertTrue(cachingDirectives.isEnabled());
environmentContextMock.expects.getCachingDirectives().returns(
cachingDirectives).any();