protected function ControllerBaseTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 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() {
$this->controllerBase = $this
->getMockForAbstractClass('Drupal\\Core\\Controller\\ControllerBase');
}