Пример #1
0
        public void FeeCache_RemoveFee()
        {
            Fee      fee   = CreateSingleFee(MethodBase.GetCurrentMethod().Name);
            FeeCache cache = new FeeCache();

            Assert.IsTrue(cache.Remove(fee));
            Fees.Delete(fee);
        }
Пример #2
0
        public void FeeCache_UpdateFee()
        {
            Fee fee = CreateSingleFee(MethodBase.GetCurrentMethod().Name);

            fee.Amount = 75;
            FeeCache cache = new FeeCache();

            cache.Update(fee);
            Assert.AreEqual(fee.Amount, cache.GetAmount0(fee.CodeNum, fee.FeeSched, fee.ClinicNum, fee.ProvNum));
            Fees.Delete(fee);
        }