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

getLocationGatewayMock() protected method

Returns Location Gateway mock.
protected getLocationGatewayMock ( ) : PHPUnit_Framework_MockObject_MockObject | Gateway
return PHPUnit_Framework_MockObject_MockObject | eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway
    protected function getLocationGatewayMock()
    {
        if (!isset($this->locationGatewayMock)) {
            $this->locationGatewayMock = $this->getMockForAbstractClass('eZ\\Publish\\Core\\Persistence\\Legacy\\Content\\Location\\Gateway');
        }
        return $this->locationGatewayMock;
    }