You are here

protected function RouteGroupResolverTest::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/RouteGroupResolverTest.php, line 31

Class

RouteGroupResolverTest
Tests the RouteGroupResolver plugin.

Namespace

Drupal\Tests\og\Unit\Plugin\OgGroupResolver

Code

protected function getInjectedDependencies() {
  return [
    $this->routeMatch
      ->reveal(),
    $this->groupTypeManager
      ->reveal(),
    $this->entityTypeManager
      ->reveal(),
  ];
}