function RouteNoneTest::setUp

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteNoneTest.php \Drupal\KernelTests\Core\RouteProcessor\RouteNoneTest::setUp()
  2. 8.9.x core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteNoneTest.php \Drupal\KernelTests\Core\RouteProcessor\RouteNoneTest::setUp()
  3. 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 41

Class

RouteNoneTest
Tests the <none> route processor.

Namespace

Drupal\KernelTests\Core\RouteProcessor

Code

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

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