public function testEditActionWithInvalidPostData() { $this->dispatch('/admin/config/user/edit/' . $this->user->getId(), 'POST', array()); $this->assertResponseStatusCode(200); $this->assertModuleName('GcConfig'); $this->assertControllerName('UserController'); $this->assertControllerClass('UserController'); $this->assertMatchedRouteName('config/user/edit'); }