public function setRaw($header) { parent::setRaw($header); }
/** * Tests setting a raw response header * * @author Nikolaos Dimopoulos <*****@*****.**> * @since 2014-10-05 */ public function testHttpResponseHeadersRaw() { $this->specify("Setting a raw Response Header is not correct", function () { $responseHeaders = new PhResponseHeaders(); $responseHeaders->setRaw('Content-Type: text/html'); $actual = $responseHeaders->get('Content-Type: text/html'); expect($actual)->isEmpty(); }); }