Example #1
0
 /**
  * @group ZF-6038
  */
 public function testClearHeader()
 {
     $this->_response->setHeader('Connection', 'keep-alive');
     $original_headers = $this->_response->getHeaders();
     $this->_response->clearHeader('Connection');
     $updated_headers = $this->_response->getHeaders();
     $this->assertFalse($original_headers == $updated_headers);
 }