public function testGetHeaderLinesUsesGlue() { $this->mock->setHeaders(array('a' => 'b', 'c' => 'd')); $this->mock->addHeader('a', 'e'); $this->mock->getHeader('a')->setGlue('!'); $this->assertEquals(array('a: b! e', 'c: d'), $this->mock->getHeaderLines()); }
public function setHeaders(array $headers) { parent::setHeaders($headers); $this->resetStatusLine(); }