public function testHeaderOrderIsHonoredWhenEmitted($stack)
{
$header = array_pop($stack);
$this->assertContains('Set-Cookie: bar=baz; expires=Wed, 8 Oct 2014 10:30; path=/foo/bar; domain=example.com', $header);
$header = array_pop($stack);
$this->assertContains('Set-Cookie: foo=bar; expires=Wed, 1 Oct 2014 10:30; path=/foo; domain=example.com', $header);
}