public void SearchAllRoles_No_Service() { String strErrorResut = String.Empty; SearchAllRolesService svc = new SearchAllRolesService(); SearchAllRolesReq req = new SearchAllRolesReq(); try { SearchAllRolesRes res = svc.Execute(req); } catch (Exception ex) { strErrorResut = Fwk.Exceptions.ExceptionHelper.GetAllMessageException(ex); } Assert.AreEqual <String>(strErrorResut, string.Empty, strErrorResut); }
public void SearchAllRoles_No_Service() { String strErrorResut = String.Empty; SearchAllRolesService svc = new SearchAllRolesService(); SearchAllRolesReq req = new SearchAllRolesReq(); try { SearchAllRolesRes res = svc.Execute(req); } catch (Exception ex) { strErrorResut = Fwk.Exceptions.ExceptionHelper.GetAllMessageException(ex); } Assert.AreEqual<String>(strErrorResut, string.Empty, strErrorResut); }