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

getContentGatewayMock() protected method

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