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); }