You are here

protected function PermissionHandlerTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/user/tests/src/Unit/PermissionHandlerTest.php \Drupal\Tests\user\Unit\PermissionHandlerTest::setUp()

Overrides UnitTestCase::setUp

File

core/modules/user/tests/src/Unit/PermissionHandlerTest.php, line 60
Contains \Drupal\Tests\user\Unit\PermissionHandlerTest.

Class

PermissionHandlerTest
Tests the permission handler.

Namespace

Drupal\Tests\user\Unit

Code

protected function setUp() {
  parent::setUp();
  $this->stringTranslation = new TestTranslationManager();
  $this->controllerResolver = $this
    ->getMock('Drupal\\Core\\Controller\\ControllerResolverInterface');
}