/** * @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()); }