public function get() { return $this->store->get($this->key); }
public function testGet() { $session = new FuelPHPSession($store = m::mock('Fuel\\Core\\Session_Driver'), 'foo'); $store->shouldReceive('get')->with('foo')->once()->andReturn('bar'); $this->assertEquals('bar', $session->get()); }