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

getContentGatewayMock() protected method

Returns a Content Gateway mock.
protected getContentGatewayMock ( ) : PHPUnit_Framework_MockObject_MockObject | Gateway
return PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\Gateway
    protected function getContentGatewayMock()
    {
        if (!isset($this->contentGatewayMock)) {
            $this->contentGatewayMock = $this->getMock('eZ\\Publish\\Core\\Persistence\\Legacy\\Content\\Gateway');
        }
        return $this->contentGatewayMock;
    }