eZ\Publish\Core\FieldType\Tests\Page\PageServiceTest::setUp PHP 메소드

setUp() 보호된 메소드

protected setUp ( )
    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);
    }