You are here

protected property StringTranslationTraitTest::$translation in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php \Drupal\Tests\Core\StringTranslation\StringTranslationTraitTest::translation
  2. 10 core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php \Drupal\Tests\Core\StringTranslation\StringTranslationTraitTest::translation

The mock under test that uses StringTranslationTrait.

Type: object

See also

\PHPUnit\Framework\MockObject\Generator::getObjectForTrait()

File

core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php, line 30

Class

StringTranslationTraitTest
@coversDefaultClass \Drupal\Core\StringTranslation\StringTranslationTrait @group StringTranslation

Namespace

Drupal\Tests\Core\StringTranslation

Code

protected $translation;