function ControllerBaseTest::setUp
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Core/Controller/ControllerBaseTest.php \Drupal\Tests\Core\Controller\ControllerBaseTest::setUp()
- 10 core/tests/Drupal/Tests/Core/Controller/ControllerBaseTest.php \Drupal\Tests\Core\Controller\ControllerBaseTest::setUp()
- 11.x core/tests/Drupal/Tests/Core/Controller/ControllerBaseTest.php \Drupal\Tests\Core\Controller\ControllerBaseTest::setUp()
Overrides UnitTestCase::setUp
File
-
core/
tests/ Drupal/ Tests/ Core/ Controller/ ControllerBaseTest.php, line 24
Class
- ControllerBaseTest
- Tests that the base controller class.
Namespace
Drupal\Tests\Core\ControllerCode
protected function setUp() : void {
$this->controllerBase = $this->getMockForAbstractClass('Drupal\\Core\\Controller\\ControllerBase');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.