You are here

protected function PathProcessorAliasTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorAliasTest.php \Drupal\Tests\Core\PathProcessor\PathProcessorAliasTest::setUp()

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorAliasTest.php, line 36
Contains \Drupal\Tests\Core\PathProcessor\PathProcessorAliasTest.

Class

PathProcessorAliasTest
@coversDefaultClass \Drupal\Core\PathProcessor\PathProcessorAlias @group PathProcessor

Namespace

Drupal\Tests\Core\PathProcessor

Code

protected function setUp() {
  $this->aliasManager = $this
    ->getMock('Drupal\\Core\\Path\\AliasManagerInterface');
  $this->pathProcessor = new PathProcessorAlias($this->aliasManager);
}