public function testVisitViewCacheDisabled()
{
// disable caching globally
$this->options = array_merge($this->defaultOptions, array('content.view_cache' => false));
$this->getResponseMock()->expects($this->never())->method('setPublic');
$result = $this->visit(new CachedValue(new stdClass()));
self::assertNotNull($result);
}