You are here

protected function ContextualLinkDefaultTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php \Drupal\Tests\Core\Menu\ContextualLinkDefaultTest::setUp()

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php, line 53

Class

ContextualLinkDefaultTest
@group Menu @coversDefaultClass \Drupal\Core\Menu\ContextualLinkDefault

Namespace

Drupal\Tests\Core\Menu

Code

protected function setUp() : void {
  parent::setUp();
  $this->stringTranslation = $this
    ->createMock('Drupal\\Core\\StringTranslation\\TranslationInterface');
}