protected function MessengerTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php \Drupal\KernelTests\Core\Messenger\MessengerTest::setUp()
Overrides KernelTestBase::setUp
File
- core/
tests/ Drupal/ KernelTests/ Core/ Messenger/ MessengerTest.php, line 26
Class
- MessengerTest
- @group Messenger @coversDefaultClass \Drupal\Core\Messenger\Messenger
Namespace
Drupal\KernelTests\Core\MessengerCode
protected function setUp() : void {
parent::setUp();
$this->messenger = \Drupal::service('messenger');
}