function DeprecatedClassesTest::testPathAliasSubscriber

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

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