You are here

public function DeprecatedClassesTest::testAliasWhitelist in Drupal 8

@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);
}