public void SearchAllRulesCategory_No_Service() { String strErrorResut = String.Empty; SearchAllRulesCategoryReq req = new SearchAllRulesCategoryReq(); SearchAllRulesCategoryRes res; SearchAllRulesCategoryService svc = new SearchAllRulesCategoryService(); req.SecurityProviderName = SecurityProviderName; try { res = svc.Execute(req); } catch (Exception ex) { strErrorResut = Fwk.Exceptions.ExceptionHelper.GetAllMessageException(ex); } Assert.AreEqual <String>(strErrorResut, string.Empty, strErrorResut); }
public void SearchAllRulesCategory_No_Service() { String strErrorResut = String.Empty; SearchAllRulesCategoryReq req = new SearchAllRulesCategoryReq(); SearchAllRulesCategoryRes res; SearchAllRulesCategoryService svc = new SearchAllRulesCategoryService(); req.SecurityProviderName = SecurityProviderName; try { res = svc.Execute(req); } catch (Exception ex) { strErrorResut = Fwk.Exceptions.ExceptionHelper.GetAllMessageException(ex); } Assert.AreEqual<String>(strErrorResut, string.Empty, strErrorResut); }