matchLocation() public method

Checks if a Location object matches.
public matchLocation ( eZ\Publish\API\Repository\Values\Content\Location $location ) : boolean
$location eZ\Publish\API\Repository\Values\Content\Location
return boolean
 /**
  * @dataProvider matchLocationProvider
  * @covers eZ\Publish\Core\MVC\Symfony\Matcher\ContentBased\Id\ContentTypeGroup::matchLocation
  * @covers eZ\Publish\Core\MVC\Symfony\Matcher\ContentBased\MultipleValued::setMatchingConfig
  *
  * @param int|int[] $matchingConfig
  * @param \eZ\Publish\API\Repository\Repository $repository
  * @param bool $expectedResult
  */
 public function testMatchLocation($matchingConfig, Repository $repository, $expectedResult)
 {
     $this->matcher->setRepository($repository);
     $this->matcher->setMatchingConfig($matchingConfig);
     $this->assertSame($expectedResult, $this->matcher->matchLocation($this->generateLocationMock()));
 }