protected function ControllerBaseTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 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()
Overrides UnitTestCase::setUp
File
- core/
tests/ Drupal/ Tests/ Core/ Controller/ ControllerBaseTest.php, line 21
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');
}