Example #1
0
 /**
  * @expectedException \DomainException
  */
 public function testGetHeaderThrowsOnBadField()
 {
     list($_server, $_get, $_post, $_files, $_cookie, $_input) = $this->getRequiredServerVars();
     $request = new Request($_server, $_get, $_post, $_files, $_cookie, $_input);
     $this->assertFalse($request->hasHeader('Zanzibar'));
     $request->getHeader('Zanzibar');
 }