function PermissionHandlerTest::setUp
Overrides UnitTestCase::setUp
File
-
core/
modules/ user/ tests/ src/ Unit/ PermissionHandlerTest.php, line 60
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');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.