protected function PermissionHandlerTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 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\UnitCode
protected function setUp() {
parent::setUp();
$this->stringTranslation = new TestTranslationManager();
$this->controllerResolver = $this
->createMock('Drupal\\Core\\Controller\\ControllerResolverInterface');
}