protected function setUp()
{
parent::setUp();
$this->eventDispatcher = $this->getMock('Symfony\\Component\\EventDispatcher\\EventDispatcherInterface');
$this->siteAccessRouter = $this->getMock('eZ\\Publish\\Core\\MVC\\Symfony\\SiteAccess\\SiteAccessRouterInterface');
$this->previewHelper = new ContentPreviewHelper($this->eventDispatcher, $this->siteAccessRouter);
}