'GET'
],
], self::
methodExceptGetProvider());
} /**
* @dataProvider methodProvider
*/
public function testSubmitIfNameInRequest($method) { $form =
$this->
createForm('param1',
$method);
$this->
setRequestData($method,
[ 'param1' => 'DATA',
]);
$this->requestHandler->
handleRequest($form,
$this->request
);
$this->
assertTrue($form->
isSubmitted());
$this->
assertSame('DATA',
$form->
getData());
} /**
* @dataProvider methodProvider
*/