public function put($value) { $this->store->set($this->key, $value); }
public function testPut() { $session = new FuelPHPSession($store = m::mock('Fuel\\Core\\Session_Driver'), 'foo'); $store->shouldReceive('set')->with('foo', 'bar')->once(); $session->put('bar'); }