public function put($value) { $this->session->put($this->key, $value); }
public function testPut() { $session = new IlluminateSession($store = m::mock('Illuminate\\Session\\Store'), 'foo'); $store->shouldReceive('put')->with('foo', 'bar')->once(); $session->put('bar'); }