function DeprecatedClassesTest::testAliasWhitelist

@covers \Drupal\path_alias\AliasWhitelist::__construct

File

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

Class

DeprecatedClassesTest
Tests deprecation of path alias core service classes.

Namespace

Drupal\Tests\path_alias\Unit

Code

public function testAliasWhitelist() {
    $object = new AliasWhitelist('path_alias_whitelist', $this->cache, $this->lock, $this->state, $this->aliasRepository);
    $this->assertInstanceOf(CoreAliasWhitelist::class, $object);
}

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