public function testHeaderRemoval() { $response = new Response(); $headers = array('Content-Type' => 'application/xml', 'Location' => 'http://sonno.360i.com'); $response->setHeaders($headers); $response->removeHeader('Content-Type'); $this->assertNull($response->getHeader('Content-Type')); }