/** * @covers ::setRequestStack() */ 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); }