eZ\Publish\Core\Persistence\Legacy\Tests\Content\Type\ContentUpdater\Action\RemoveFieldTest::getRemoveFieldAction PHP Method

getRemoveFieldAction() protected method

Returns the RemoveField action to test.
protected getRemoveFieldAction ( ) : RemoveField
return eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater\Action\RemoveField
    protected function getRemoveFieldAction()
    {
        if (!isset($this->removeFieldAction)) {
            $this->removeFieldAction = new RemoveField($this->getContentGatewayMock(), $this->getFieldDefinitionFixture(), $this->getContentStorageHandlerMock(), $this->getContentMapperMock());
        }
        return $this->removeFieldAction;
    }