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