You are here

protected function ControllerBaseTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 26
Contains \Drupal\Tests\Core\Controller\ControllerBaseTest.

Class

ControllerBaseTest
Tests that the base controller class.

Namespace

Drupal\Tests\Core\Controller

Code

protected function setUp() {
  $this->controllerBase = $this
    ->getMockForAbstractClass('Drupal\\Core\\Controller\\ControllerBase');
}