public function get()
{
$value = Cookie::get($this->key);
if ($value) {
return json_decode($value);
}
}
public function testGet() { $cookie = new FuelPHPCookie('foo'); $this->assertEquals('baz', $cookie->get()); }