示例#1
0
 public function get($name)
 {
     return parent::get($name);
 }
示例#2
0
 public function get($name)
 {
     parent::get($name);
 }
 /**
  * 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();
     });
 }