function TranslationTest::setUp

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php, line 28

Class

TranslationTest
@coversDefaultClass \Drupal\Core\Annotation\Translation[[api-linebreak]] @group Annotation

Namespace

Drupal\Tests\Core\Annotation

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.