public function iHaveRandomOtherDataInMySession(Session $session, array $data) { $session->replace($data); }
/** * @dataProvider dataForIsRefreshable * @param array $params * @param $expectedValue */ public function testIsRefreshable(array $params, $expectedValue) { $this->tokenSession->replace($params); $this->assertSame($expectedValue, $this->tokenStore->isRefreshable()); }