public function LoggerChannelTest::test_construct in Service Container 7
Same name and namespace in other branches
- 7.2 tests/src/Logger/LoggerChannelTest.php \Drupal\Tests\service_container\Logger\LoggerChannelTest::test_construct()
@covers ::__construct()
File
- tests/
src/ Logger/ LoggerChannelTest.php, line 37 - Contains \Drupal\Tests\service_container\Logger\LoggerChannelTest.
Class
- LoggerChannelTest
- @coversDefaultClass \Drupal\service_container\Logger\LoggerChannel
Namespace
Drupal\Tests\service_container\LoggerCode
public function test_construct() {
$this
->assertInstanceOf('\\Drupal\\service_container\\Logger\\LoggerChannel', $this->loggerChannel);
$this
->assertAttributeEquals('test', 'channel', $this->loggerChannel);
}