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

getContentGatewayMock() protected method

Returns a Content Gateway mock.
protected getContentGatewayMock ( ) : Gateway
return 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;
    }