You are here

protected function RequestQueryArgumentResolverTest::setUp in Organic groups 8

Overrides OgGroupResolverTestBase::setUp

File

tests/src/Unit/Plugin/OgGroupResolver/RequestQueryArgumentResolverTest.php, line 42

Class

RequestQueryArgumentResolverTest
Tests the RequestQueryArgumentResolver plugin.

Namespace

Drupal\Tests\og\Unit\Plugin\OgGroupResolver

Code

protected function setUp() : void {
  parent::setUp();

  // Instantiate mocks of the classes that the plugins rely on.
  $this->requestStack = $this
    ->prophesize(RequestStack::class);
}