/**
* @covers \Bluz\Response\Response::addHeader
* @covers \Bluz\Response\Response::getHeader
* @covers \Bluz\Response\Response::getHeaderAsArray
*/
public function testAddHeader()
{
$this->response->addHeader('foo', 'bar');
$this->response->addHeader('foo', 'baz');
$this->assertTrue($this->response->hasHeader('foo'));
$this->assertEquals('bar, baz', $this->response->getHeader('foo'));
$this->assertEqualsArray(['bar', 'baz'], $this->response->getHeaderAsArray('foo'));
$this->assertEqualsArray([], $this->response->getHeaderAsArray('baz'));
}