You are here

protected function UnroutedUrlAssemblerTest::setUp in Zircon Profile 8

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

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php, line 54
Contains \Drupal\Tests\Core\Utility\UnroutedUrlAssemblerTest.

Class

UnroutedUrlAssemblerTest
@coversDefaultClass \Drupal\Core\Utility\UnroutedUrlAssembler @group Utility

Namespace

Drupal\Tests\Core\Utility

Code

protected function setUp() {
  parent::setUp();
  $this->requestStack = new RequestStack();
  $this->pathProcessor = $this
    ->getMock('Drupal\\Core\\PathProcessor\\OutboundPathProcessorInterface');
  $this->unroutedUrlAssembler = new UnroutedUrlAssembler($this->requestStack, $this->pathProcessor);
}