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