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