You are here

public function DeprecatedClassesTest::testPathAliasSubscriber in Drupal 8

@covers \Drupal\path_alias\EventSubscriber\PathAliasSubscriber::__construct

File

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

Class

DeprecatedClassesTest
Tests deprecation of path alias core service classes.

Namespace

Drupal\Tests\path_alias\Unit

Code

public function testPathAliasSubscriber() {
  $object = new PathAliasSubscriber($this->aliasManager, $this->currentPathStack);
  $this
    ->assertInstanceOf(PathSubscriber::class, $object);
}