This adapter provides basic support for write, read and delete
cookie handling, as well as allowing these three methods to be filtered as
per the Lithium filtering system.
public function testBadWrite() { $cookie = new Cookie(array('expire' => null)); $this->assertNull($cookie->write('bad', 'val')); }
public function testCustomCookieName() { $Cookie = new Cookie(array('name' => 'test')); $this->assertEqual('test', $Cookie->key()); }