I have this problem when I try to do functional test on a form submission: 

testSearch.php:

```
public function testFormSubmission()
{
   $client = $this->createClient();
   $client->request('POST', '/search', array('nome' => 'Jan'));
   ...
}

```

app.php:

```
$app->post('/search', function (Request $request)  use ($app)
{
    $post_data = $request->get('form');
    ...
});

```

... but $post\_data is NULL. 

If I do the submission using the submit button in the browser everything works well...