public function testSession() { $sessionMock = $this->getMock(\Magelight\Http\Session::class, [], [], '', false); \Magelight\Http\Session::forgeMock($sessionMock); $this->assertEquals($sessionMock, $this->controller->session()); }