You are here

public function GroupRoleSynchronizerTest::setUp in Group 8

Same name and namespace in other branches
  1. 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\Unit

Code

public function setUp() {
  parent::setUp();
  $this->entityTypeManager = $this
    ->prophesize(EntityTypeManagerInterface::class);
  $this->groupRoleSynchronizer = new GroupRoleSynchronizer($this->entityTypeManager
    ->reveal());
}