//[TestMethod] public void SearchRulesCategoryByParam_No_Service() { String strErrorResut = String.Empty; SearchRulesCategoryByParamService svc = new SearchRulesCategoryByParamService(); SearchRulesCategoryByParamReq req = new SearchRulesCategoryByParamReq(); SearchRulesCategoryByParamRes res = null; req.BusinessData.CategoryId = 1; try { res = svc.Execute(req); } catch (Exception ex) { strErrorResut = Fwk.Exceptions.ExceptionHelper.GetAllMessageException(ex); } Assert.AreEqual <String>(strErrorResut, string.Empty, strErrorResut); }
//[TestMethod] public void SearchRulesCategoryByParam_No_Service() { String strErrorResut = String.Empty; SearchRulesCategoryByParamService svc = new SearchRulesCategoryByParamService(); SearchRulesCategoryByParamReq req = new SearchRulesCategoryByParamReq(); SearchRulesCategoryByParamRes res = null; req.BusinessData.CategoryId = 1; try { res = svc.Execute(req); } catch (Exception ex) { strErrorResut = Fwk.Exceptions.ExceptionHelper.GetAllMessageException(ex); } Assert.AreEqual<String>(strErrorResut, string.Empty, strErrorResut); }