public testMatchContentInfo ( string | string[] $matchingConfig, eZ\Publish\API\Repository\Repository $repository, boolean $expectedResult ) | ||
$matchingConfig | string | string[] | |
$repository | eZ\Publish\API\Repository\Repository | |
$expectedResult | boolean |
public function testMatchContentInfo($matchingConfig, Repository $repository, $expectedResult)
{
$this->matcher->setRepository($repository);
$this->matcher->setMatchingConfig($matchingConfig);
$this->assertSame($expectedResult, $this->matcher->matchContentInfo($this->getContentInfoMock()));
}