public function testParseMessageHeadersMerging()
{
$response = new Response(array('message' => "Content-type: text/x-test-a\r\nX-Test-A: foo\r\n\r\nfoo", 'headers' => array('Content-Type' => 'text/x-test-b', 'X-Test-B' => 'bar')));
$expected = array('Content-Type: text/x-test-b', 'X-Test-B: bar', 'X-Test-A: foo');
$this->assertEqual($expected, $response->headers());
}