eZ\Publish\Core\MVC\Symfony\Matcher\Tests\ContentBased\DepthTest::testMatchLocation PHP Метод

testMatchLocation() публичный Метод

public testMatchLocation ( integer | int[] $matchingConfig, eZ\Publish\API\Repository\Values\Content\Location $location, boolean $expectedResult )
$matchingConfig integer | int[]
$location eZ\Publish\API\Repository\Values\Content\Location
$expectedResult boolean
    public function testMatchLocation($matchingConfig, Location $location, $expectedResult)
    {
        $this->matcher->setMatchingConfig($matchingConfig);
        $this->assertSame($expectedResult, $this->matcher->matchLocation($location));
    }