You are here

protected function OgRouteGroupResolverTestBase::setUp in Organic groups 8

Overrides OgGroupResolverTestBase::setUp

File

tests/src/Unit/Plugin/OgGroupResolver/OgRouteGroupResolverTestBase.php, line 59

Class

OgRouteGroupResolverTestBase
Base class for testing OgGroupResolver plugins that depend on the route.

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->routeMatch = $this
    ->prophesize(RouteMatchInterface::class);
}