protected function setUp()
{
parent::setUp();
$this->zoneDefinition = $this->getZoneDefinition();
$this->blockDefinition = $this->getBlockDefinition();
$this->storageGateway = $this->getMockForAbstractClass('eZ\\Publish\\Core\\FieldType\\Page\\PageStorage\\Gateway');
$this->contentService = $this->getMock('eZ\\Publish\\API\\Repository\\ContentService');
$pageServiceClass = static::PAGESERVICE_CLASS;
$this->pageService = new $pageServiceClass($this->contentService, $this->zoneDefinition, $this->blockDefinition);
}