You are here

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

Class

RequestQueryArgumentResolverTest
Tests the RequestQueryArgumentResolver plugin.

Namespace

Drupal\Tests\og\Unit\Plugin\OgGroupResolver

Code

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