public function testAddImage() { $formData = $this->createFormData(); $this->client->request('POST', $this->app->url('admin_payment_image_add'), array('payment_register' => $formData), array(), array('HTTP_X-Requested-With' => 'XMLHttpRequest')); }