matchContentInfo() public method

Checks if a ContentInfo object matches.
public matchContentInfo ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo ) : boolean
$contentInfo eZ\Publish\API\Repository\Values\Content\ContentInfo
return boolean
 /**
  * @dataProvider matchContentInfoProvider
  * @covers eZ\Publish\Core\MVC\Symfony\Matcher\ContentBased\Id\ParentLocation::matchContentInfo
  * @covers eZ\Publish\Core\MVC\Symfony\Matcher\ContentBased\MultipleValued::setMatchingConfig
  * @covers \eZ\Publish\Core\MVC\RepositoryAware::setRepository
  *
  * @param int|int[] $matchingConfig
  * @param \eZ\Publish\API\Repository\Repository $repository
  * @param boolean $expectedResult
  *
  * @return void
  */
 public function testMatchContentInfo($matchingConfig, Repository $repository, $expectedResult)
 {
     $this->matcher->setRepository($repository);
     $this->matcher->setMatchingConfig($matchingConfig);
     $this->assertSame($expectedResult, $this->matcher->matchContentInfo($this->getContentInfoMock(array("mainLocationId" => 42))));
 }