You are here

protected function TranslationTest::setUp in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/field/src/Tests/TranslationTest.php \Drupal\field\Tests\TranslationTest::setUp()
  2. 8 core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php \Drupal\Tests\Core\Annotation\TranslationTest::setUp()
Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php \Drupal\Tests\Core\Annotation\TranslationTest::setUp()

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php, line 30
Contains \Drupal\Tests\Core\Annotation\TranslationTest.

Class

TranslationTest
@coversDefaultClass \Drupal\Core\Annotation\Translation @group Annotation

Namespace

Drupal\Tests\Core\Annotation

Code

protected function setUp() {
  $this->translationManager = $this
    ->getStringTranslationStub();
}