Beispiel #1
0
 public function testIsHead()
 {
     $_SERVER['REQUEST_METHOD'] = 'HEAD';
     $this->assertTrue($this->_request->isHead());
     $this->assertFalse($this->_request->isGet());
 }