eZ\Publish\Core\Repository\Tests\Service\Mock\ContentTest::getLocationServiceMock PHP Method

getLocationServiceMock() protected method

protected getLocationServiceMock ( ) : PHPUnit_Framework_MockObject_MockObject | eZ\Publish\API\Repository\LocationService
return PHPUnit_Framework_MockObject_MockObject | eZ\Publish\API\Repository\LocationService
    protected function getLocationServiceMock()
    {
        if (!isset($this->locationServiceMock)) {
            $this->locationServiceMock = $this->getMockBuilder('eZ\\Publish\\API\\Repository\\LocationService')->disableOriginalConstructor()->getMock();
        }
        return $this->locationServiceMock;
    }
ContentTest