eZ\Publish\Core\Persistence\Legacy\Tests\Content\Type\ContentUpdaterTest::getContentUpdater PHP Method

getContentUpdater() protected method

Returns the content updater to test.
protected getContentUpdater ( ) : ContentUpdater
return eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater
    protected function getContentUpdater()
    {
        if (!isset($this->contentUpdater)) {
            $this->contentUpdater = new ContentUpdater($this->getContentGatewayMock(), $this->getConverterRegistryMock(), $this->getContentStorageHandlerMock(), $this->getContentMapperMock());
        }
        return $this->contentUpdater;
    }