eZ\Publish\Core\MVC\Symfony\SiteAccess\Tests\RouterMapURITest::testAnalyseLink PHP Method

    public function testAnalyseLink($fullUri, $linkUri)
    {
        $matcher = new URIMapMatcher(array());
        $matcher->setRequest(new SimplifiedRequest(array('pathinfo' => $fullUri)));
        $this->assertSame($fullUri, $matcher->analyseLink($linkUri));
        // Unserialized matcher should have the same behavior
        $unserializedMatcher = unserialize(serialize($matcher));
        $this->assertSame($fullUri, $unserializedMatcher->analyseLink($linkUri));
    }