function TranslationTest::setUp
Overrides UnitTestCase::setUp
File
-
core/
tests/ Drupal/ Tests/ Core/ Annotation/ TranslationTest.php, line 25
Class
- TranslationTest
- @coversDefaultClass \Drupal\Core\Annotation\Translation[[api-linebreak]] @group Annotation
Namespace
Drupal\Tests\Core\AnnotationCode
protected function setUp() : void {
$this->translationManager = $this->getStringTranslationStub();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.