@When("^I request a new feature$") public void i_request_a_new_feature() throws Throwable { result = mockMvc.perform( post("/sendReq") .param("reqType", "fault") .param("version", version.getVersion()) .param("problem", problem) .param("solution", solution)); }
@When("^I request a change request for reporting a fault$") public void i_request_a_change_request_for_reporting_a_fault() throws Throwable { result = mockMvc.perform( post("/sendReq") .param("reqType", "fault") .param("version", version.getVersion()) .param("problem", problem) .param("solution", solution)); }