function TranslationManagerTest::setUp

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php, line 27

Class

TranslationManagerTest
@coversDefaultClass \Drupal\Core\StringTranslation\TranslationManager[[api-linebreak]] @group StringTranslation

Namespace

Drupal\Tests\Core\StringTranslation

Code

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

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