Beispiel #1
0
        public void GetFrequenciesTest()
        {
            AccountUtil freqUtil = new AccountUtil();
            var frequencies = freqUtil.GetFrequencies();

            if (frequencies == null || frequencies.Count() < 1)
                Assert.Fail("No Frequencies returned.");
        }
 public List<AccountType> GetAccountTypes()
 {
     try
     {
         AccountUtil utility = new AccountUtil();
         return utility.GetAccountTypes();
     }
     catch (ModelException ex)
     {
         CapitalError error = new CapitalError(ex);
         throw new FaultException<CapitalError>(error, error.Message);
     }
     catch (Exception)
     {
         return null;
     }
 }