You are here

protected function RouteProcessorCurrentIntegrationTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteProcessorCurrentIntegrationTest.php \Drupal\KernelTests\Core\RouteProcessor\RouteProcessorCurrentIntegrationTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteProcessorCurrentIntegrationTest.php, line 36

Class

RouteProcessorCurrentIntegrationTest
Tests the <current> route processor.

Namespace

Drupal\KernelTests\Core\RouteProcessor

Code

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