Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
         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);

        }