You are here

protected function RouteProcessorCurrentIntegrationTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 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() {
  parent::setUp();
  $this->urlGenerator = \Drupal::urlGenerator();
}