public testMatchContentInfo ( integer | int[] $matchingConfig, eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo, boolean $expectedResult ) | ||
$matchingConfig | integer | int[] | |
$contentInfo | eZ\Publish\API\Repository\Values\Content\ContentInfo | |
$expectedResult | boolean |
public function testMatchContentInfo($matchingConfig, ContentInfo $contentInfo, $expectedResult)
{
$this->matcher->setMatchingConfig($matchingConfig);
$this->assertSame($expectedResult, $this->matcher->matchContentInfo($contentInfo));
}