Exemplo n.º 1
0
 /**
  * @dataProvider httpNotSafeMethodProvider
  * @backupGlobals enabled
  * @param string $method value of $_SERVER['REQUEST_METHOD']
  */
 public function testIsSafeMethodFalse($httpMethod)
 {
     $this->_model = $this->getModel();
     $_SERVER['REQUEST_METHOD'] = $httpMethod;
     $this->assertEquals(false, $this->_model->IsSafeMethod());
 }