/** * @covers \Heystack\Core\State\Backends\Session::setSession * @covers \Heystack\Core\State\Backends\Session::getByKey * @covers \Heystack\Core\State\Backends\Session::removeByKey */ public function testRemoveByKey() { $session = new Session(); $session->setSession(new \Session(['test' => 'hello'])); $session->removeByKey('test', 'hello'); $this->assertNull($session->getByKey('test')); }