You are here

public function WatchdogLoggerTest::test_construct in Service Container 7

Same name and namespace in other branches
  1. 7.2 tests/src/Logger/WatchdogLoggerTest.php \Drupal\Tests\service_container\Logger\WatchdogLoggerTest::test_construct()

@covers ::__construct()

File

tests/src/Logger/WatchdogLoggerTest.php, line 44
Contains \Drupal\Tests\service_container\Logger\WatchdogLoggerTest.

Class

WatchdogLoggerTest
@coversDefaultClass \Drupal\service_container\Logger\WatchdogLogger

Namespace

Drupal\Tests\service_container\Logger

Code

public function test_construct() {
  $this
    ->assertInstanceOf('\\Drupal\\service_container\\Logger\\WatchdogLogger', $this->watchdogLogger);
}