public function testForgotPasswordActionWithInvalidPostData() { $this->dispatch('/admin/config/user/forgot-password', 'POST', array('email' => 'pierre.rambaud')); $this->assertResponseStatusCode(200); $this->assertModuleName('GcConfig'); $this->assertControllerName('UserController'); $this->assertControllerClass('UserController'); $this->assertMatchedRouteName('config/user/forgot-password'); }