You are here

protected function LocalActionDefaultTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 65
Contains \Drupal\Tests\Core\Menu\LocalActionDefaultTest.

Class

LocalActionDefaultTest
@coversDefaultClass \Drupal\Core\Menu\LocalActionDefault @group Menu

Namespace

Drupal\Tests\Core\Menu

Code

protected function setUp() {
  parent::setUp();
  $this->stringTranslation = $this
    ->getMock('Drupal\\Core\\StringTranslation\\TranslationInterface');
  $this->routeProvider = $this
    ->getMock('Drupal\\Core\\Routing\\RouteProviderInterface');
}