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