eZ\Publish\Core\MVC\Symfony\Routing\Tests\UrlAliasGeneratorTest::testIsPrefixExcluded PHP Метод

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

public testIsPrefixExcluded ( $uri, $expectedIsExcluded )
    public function testIsPrefixExcluded($uri, $expectedIsExcluded)
    {
        $this->urlAliasGenerator->setExcludedUriPrefixes(array('/products', '/shared/content', '/something/in-the-way/'));
        $this->assertSame($expectedIsExcluded, $this->urlAliasGenerator->isUriPrefixExcluded($uri));
    }