public function GroupPermissionsCacheContextTest::setUp in Group 2.0.x
Same name and namespace in other branches
- 8 tests/src/Unit/GroupPermissionsCacheContextTest.php \Drupal\Tests\group\Unit\GroupPermissionsCacheContextTest::setUp()
Overrides UnitTestCase::setUp
File
- tests/
src/ Unit/ GroupPermissionsCacheContextTest.php, line 36
Class
- GroupPermissionsCacheContextTest
- Tests the user.group_permissions cache context.
Namespace
Drupal\Tests\group\UnitCode
public function setUp() {
parent::setUp();
$this->currentUser = $this
->prophesize(AccountProxyInterface::class);
$this->permissionsHashGenerator = $this
->prophesize(GroupPermissionsHashGeneratorInterface::class);
}