public function get() { return $this->getCookie(); }
public function testGet() { $cookie = new NativeCookie('__sentinel'); $this->assertNull($cookie->get()); $_COOKIE['__sentinel'] = serialize('bar'); $this->assertEquals('bar', $cookie->get()); }