function AliasPathProcessorTest::setUp
Same name in other branches
- 8.9.x core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php \Drupal\Tests\path_alias\Unit\PathProcessor\AliasPathProcessorTest::setUp()
- 10 core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php \Drupal\Tests\path_alias\Unit\PathProcessor\AliasPathProcessorTest::setUp()
- 11.x core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php \Drupal\Tests\path_alias\Unit\PathProcessor\AliasPathProcessorTest::setUp()
Overrides UnitTestCase::setUp
File
-
core/
modules/ path_alias/ tests/ src/ Unit/ PathProcessor/ AliasPathProcessorTest.php, line 35
Class
- AliasPathProcessorTest
- @coversDefaultClass \Drupal\path_alias\PathProcessor\AliasPathProcessor @group PathProcessor @group path_alias
Namespace
Drupal\Tests\path_alias\Unit\PathProcessorCode
protected function setUp() : void {
$this->aliasManager = $this->createMock('Drupal\\path_alias\\AliasManagerInterface');
$this->pathProcessor = new AliasPathProcessor($this->aliasManager);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.