public function LoggerChannelTest::test_setRequestStack in Service Container 7.2
Same name and namespace in other branches
- 7 tests/src/Logger/LoggerChannelTest.php \Drupal\Tests\service_container\Logger\LoggerChannelTest::test_setRequestStack()
@covers ::setRequestStack()
File
- tests/
src/ Logger/ LoggerChannelTest.php, line 158 - Contains \Drupal\Tests\service_container\Logger\LoggerChannelTest.
Class
- LoggerChannelTest
- @coversDefaultClass \Drupal\service_container\Logger\LoggerChannel
Namespace
Drupal\Tests\service_container\LoggerCode
public function test_setRequestStack() {
$request_stack = \Mockery::mock('alias:Symfony\\Component\\HttpFoundation\\RequestStack');
$this->loggerChannel
->setRequestStack($request_stack);
$this
->assertAttributeEquals($request_stack, 'requestStack', $this->loggerChannel);
}