Beispiel #1
0
        public void TestAddDepositsSingleItem()
        {
            decimal value = 15.00M;

            accountModel.AddDeposit(value);

            Assert.AreEqual(1, accountModel.Deposits.Count);
            Assert.AreEqual(value, accountModel.Deposits[0].Item1);
            Assert.AreEqual(0, accountModel.Deposits[0].Item2);
            Assert.AreEqual(1, events.Count);
            Assert.AreEqual("TotalDeposits", events[0]);
        }