eZ\Publish\Core\MVC\Symfony\Matcher\Tests\ContentBased\BaseTest::getLocationMock PHP Method

getLocationMock() protected method

protected getLocationMock ( array $properties = [] ) : PHPUnit_Framework_MockObject_MockObject
$properties array
return PHPUnit_Framework_MockObject_MockObject
    protected function getLocationMock(array $properties = array())
    {
        return $this->getMockBuilder('eZ\\Publish\\API\\Repository\\Values\\Content\\Location')->setConstructorArgs(array($properties))->getMockForAbstractClass();
    }