'POST'
],
['PUT'
],
['DELETE'
],
['PATCH'
],
];
} public static function methodProvider() { return array_merge([ ['GET'
],
], self::
methodExceptGetProvider());
} /**
* @dataProvider methodProvider
*/
public function testSubmitIfNameInRequest($method) { $form =
$this->
createForm('param1',
$method);
$this->
setRequestData($method,
[ 'param1' => 'DATA',
]);