You are here

protected function RouteNoneTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteNoneTest.php \Drupal\KernelTests\Core\RouteProcessor\RouteNoneTest::setUp()
  2. 10 core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteNoneTest.php \Drupal\KernelTests\Core\RouteProcessor\RouteNoneTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteNoneTest.php, line 37

Class

RouteNoneTest
Tests the <none> route processor.

Namespace

Drupal\KernelTests\Core\RouteProcessor

Code

protected function setUp() {
  parent::setUp();
  $this->urlGenerator = \Drupal::urlGenerator();
}