private getLocationServiceMock ( ) : eZ\Publish\API\Repository\LocationService | PHPUnit_Framework_MockObject_MockObject | ||
return | eZ\Publish\API\Repository\LocationService | PHPUnit_Framework_MockObject_MockObject |
private function getLocationServiceMock()
{
static $mock;
if ($mock === null) {
$mock = $this->getMockBuilder('eZ\\Publish\\API\\Repository\\LocationService')->getMock();
}
return $mock;
}