You are here

protected function AccessGroupAndTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/block_content/tests/src/Unit/Access/AccessGroupAndTest.php \Drupal\Tests\block_content\Unit\Access\AccessGroupAndTest::setUp()
  2. 9 core/modules/block_content/tests/src/Unit/Access/AccessGroupAndTest.php \Drupal\Tests\block_content\Unit\Access\AccessGroupAndTest::setUp()

Overrides UnitTestCase::setUp

File

core/modules/block_content/tests/src/Unit/Access/AccessGroupAndTest.php, line 22

Class

AccessGroupAndTest
Tests accessible groups.

Namespace

Drupal\Tests\block_content\Unit\Access

Code

protected function setUp() : void {
  parent::setUp();
  $this->account = $this
    ->prophesize(AccountInterface::class)
    ->reveal();
}