Exemple #1
0
 public function testGetHeaderThrowsExceptionWithNoInput()
 {
     try {
         // Suppressing warning
         $header = @$this->_request->getHeader();
         $this->fail('getHeader() should fail with no arguments)');
     } catch (\Exception $e) {
         // success
     }
 }