protected function LocalActionDefaultTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Menu/LocalActionDefaultTest.php \Drupal\Tests\Core\Menu\LocalActionDefaultTest::setUp()
- 9 core/tests/Drupal/Tests/Core/Menu/LocalActionDefaultTest.php \Drupal\Tests\Core\Menu\LocalActionDefaultTest::setUp()
Overrides UnitTestCase::setUp
File
- core/
tests/ Drupal/ Tests/ Core/ Menu/ LocalActionDefaultTest.php, line 60
Class
- LocalActionDefaultTest
- @coversDefaultClass \Drupal\Core\Menu\LocalActionDefault @group Menu
Namespace
Drupal\Tests\Core\MenuCode
protected function setUp() : void {
parent::setUp();
$this->stringTranslation = $this
->createMock('Drupal\\Core\\StringTranslation\\TranslationInterface');
$this->routeProvider = $this
->createMock('Drupal\\Core\\Routing\\RouteProviderInterface');
}