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

getContentGatewayMock() protected method

Returns 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->getMockForAbstractClass('eZ\\Publish\\Core\\Persistence\\Legacy\\Content\\Gateway');
        }
        return $this->contentGatewayMock;
    }