public function testDoesNotAddIncompleteCookies()
{
$this->assertEquals(false, $this->jar->setCookie(new SetCookie()));
$this->assertFalse($this->jar->setCookie(new SetCookie(array('Name' => 'foo'))));
$this->assertFalse($this->jar->setCookie(new SetCookie(array('Name' => false))));
$this->assertFalse($this->jar->setCookie(new SetCookie(array('Name' => true))));
$this->assertFalse($this->jar->setCookie(new SetCookie(array('Name' => 'foo', 'Domain' => 'foo.com'))));
}