public function testMalformedStatus()
{
$expected = "HTTP/1.1 304 Not Modified";
$message = join("\r\n", array('HTTP/1.1 304', 'Header: Value', 'Connection: close', 'Content-Type: application/json;charset=iso-8859-1', '', 'Test!'));
$response = new Response(compact('message'));
$result = $response->status();
$this->assertEqual($expected, $result);
$expected = "HTTP/1.1 500 Internal Server Error";
$message = join("\r\n", array('HTTP/1.1 500', 'Header: Value', 'Connection: close', 'Content-Type: application/json;charset=iso-8859-1', '', 'Test!'));
$response = new Response(compact('message'));
$result = $response->status();
$this->assertEqual($expected, $result);
}