eZ\Publish\Core\Repository\Tests\Service\Mock\UrlAliasTest::getLocationStub PHP Method

getLocationStub() protected method

protected getLocationStub ( integer $id = 42 ) : Location
$id integer
return eZ\Publish\Core\Repository\Values\Content\Location
    protected function getLocationStub($id = 42)
    {
        return new Location(array('id' => $id));
    }
UrlAliasTest