eZ\Publish\Core\Persistence\Legacy\Tests\Content\UrlAliasHandlerTest::testLookupLocationHistoryUrlAlias PHP Метод

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

Test for the lookup() method.
    public function testLookupLocationHistoryUrlAlias()
    {
        $handler = $this->getHandler();
        $this->insertDatabaseFixture(__DIR__ . '/_fixtures/urlaliases_location.php');
        $urlAlias = $handler->lookup('jedan/dva/tri-history');
        self::assertEquals($this->getHistoryAlias(), $urlAlias);
    }
UrlAliasHandlerTest