function ViewPageControllerTest::setUp

Same name in other branches
  1. 8.9.x core/modules/views/tests/src/Unit/Routing/ViewPageControllerTest.php \Drupal\Tests\views\Unit\Routing\ViewPageControllerTest::setUp()
  2. 10 core/modules/views/tests/src/Unit/Routing/ViewPageControllerTest.php \Drupal\Tests\views\Unit\Routing\ViewPageControllerTest::setUp()
  3. 11.x core/modules/views/tests/src/Unit/Routing/ViewPageControllerTest.php \Drupal\Tests\views\Unit\Routing\ViewPageControllerTest::setUp()

Overrides UnitTestCase::setUp

File

core/modules/views/tests/src/Unit/Routing/ViewPageControllerTest.php, line 41

Class

ViewPageControllerTest
@coversDefaultClass \Drupal\views\Routing\ViewPageController @group views

Namespace

Drupal\Tests\views\Unit\Routing

Code

protected function setUp() : void {
    $this->pageController = new ViewPageController();
}

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