function DeprecatedClassesTest::testAliasManager

@covers \Drupal\path_alias\AliasManager::__construct

File

core/modules/path_alias/tests/src/Unit/DeprecatedClassesTest.php, line 152

Class

DeprecatedClassesTest
Tests deprecation of path alias core service classes.

Namespace

Drupal\Tests\path_alias\Unit

Code

public function testAliasManager() {
    $object = new AliasManager($this->aliasRepository, $this->aliasWhitelist, $this->languageManager, $this->cache);
    $this->assertInstanceOf(CoreAliasManager::class, $object);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.