public function testUnsetHeader() { $this->response->clearHeaders(); $this->response->setHeader('Foo', 'Bar'); $this->response->unsetHeader('Foo'); $this->assertCount(0, $this->response->getHeaders(), "Failed to unset header"); }