public function GroupRoleSynchronizerTest::setUp in Group 8
Same name and namespace in other branches
- 2.0.x tests/src/Unit/GroupRoleSynchronizerTest.php \Drupal\Tests\group\Unit\GroupRoleSynchronizerTest::setUp()
Overrides UnitTestCase::setUp
File
- tests/
src/ Unit/ GroupRoleSynchronizerTest.php, line 38
Class
- GroupRoleSynchronizerTest
- Tests the outsider group role synchronizer service.
Namespace
Drupal\Tests\group\UnitCode
public function setUp() {
parent::setUp();
$this->entityTypeManager = $this
->prophesize(EntityTypeManagerInterface::class);
$this->groupRoleSynchronizer = new GroupRoleSynchronizer($this->entityTypeManager
->reveal());
}