protected function LegacyMessengerTest::setUp in Service Container 7.2
Same name and namespace in other branches
- 8 tests/src/Messenger/LegacyMessengerTest.php \Drupal\Tests\service_container\Messenger\LegacyMessengerTest::setUp()
- 7 tests/src/Messenger/LegacyMessengerTest.php \Drupal\Tests\service_container\Messenger\LegacyMessengerTest::setUp()
File
- tests/
src/ Messenger/ LegacyMessengerTest.php, line 34 - Contains \Drupal\Tests\service_container\Messenger\LegacyMessengerTest.
Class
- LegacyMessengerTest
- @coversDefaultClass \Drupal\service_container\Messenger\LegacyMessenger
Namespace
Drupal\Tests\service_container\MessengerCode
protected function setUp() {
parent::setUp();
$this->drupal7 = \Mockery::mock('\\Drupal\\service_container\\Legacy\\Drupal7');
$this->messenger_service = new LegacyMessenger($this->drupal7);
}