public function getExpiresAlwaysReturnsAUnixTimestamp()
{
$cookie = new Cookie('foo', 'bar', 1345110803);
$this->assertSame(1345110803, $cookie->getExpires());
$cookie = new Cookie('foo', 'bar', \DateTime::createFromFormat('U', 1345110803));
$this->assertSame(1345110803, $cookie->getExpires());
$cookie = new Cookie('foo', 'bar');
$this->assertSame(0, $cookie->getExpires());
}