eZ\Publish\Core\MVC\Symfony\SiteAccess\Tests\RouterURIElement2Test::testAnalyseURI PHP Метод

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

public testAnalyseURI ( integer $level, string $uri, string $expectedFixedUpURI )
$level integer
$uri string
$expectedFixedUpURI string
    public function testAnalyseURI($level, $uri, $expectedFixedUpURI)
    {
        $matcher = new URIElementMatcher(array($level));
        $matcher->setRequest(new SimplifiedRequest(array('pathinfo' => $uri)));
        $this->assertSame($expectedFixedUpURI, $matcher->analyseURI($uri));
    }