You are here

protected function LegacyMessengerTest::setUp in Service Container 7.2

Same name and namespace in other branches
  1. 8 tests/src/Messenger/LegacyMessengerTest.php \Drupal\Tests\service_container\Messenger\LegacyMessengerTest::setUp()
  2. 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\Messenger

Code

protected function setUp() {
  parent::setUp();
  $this->drupal7 = \Mockery::mock('\\Drupal\\service_container\\Legacy\\Drupal7');
  $this->messenger_service = new LegacyMessenger($this->drupal7);
}