You are here

protected function RouteGroupContentResolverTest::getInjectedDependencies in Organic groups 8

Returns the mocked classes that the plugin depends on.

Return value

array The mocked dependencies.

Overrides OgGroupResolverTestBase::getInjectedDependencies

File

tests/src/Unit/Plugin/OgGroupResolver/RouteGroupContentResolverTest.php, line 30

Class

RouteGroupContentResolverTest
Tests the RouteGroupContentResolver plugin.

Namespace

Drupal\Tests\og\Unit\Plugin\OgGroupResolver

Code

protected function getInjectedDependencies($path = NULL, $route_object_id = NULL) {
  return [
    $this->routeMatch
      ->reveal(),
    $this->groupTypeManager
      ->reveal(),
    $this->entityTypeManager
      ->reveal(),
    $this->membershipManager
      ->reveal(),
    $this->groupAudienceHelper
      ->reveal(),
  ];
}