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