public function getCookieValue($host, $path, $name) { return $this->user_agent->getCookieValue($host, $path, $name); }
function testCookie() { $new_brswr = new SimpleBrowser(); $new_brswr->setCookie('test', 'Nothing', false, '/', false); $cur_cookie = $new_brswr->getCookieValue(false, '/', 'test'); $this->assertEqual('Nothing', $cur_cookie); }