public void DeductAmountFromAccountBalance_WhenDeductBalanceIsCalled() { var account = new Account { Balance = 100M }; _balanceService.DeductBalance(account, 20M); Assert.AreEqual(80M, account.Balance); }
public void DeductAmountFromAccountBalance_WhenDeductBalanceIsCalled() { var account = new Account { Balance = 100M }; _balanceService.DeductBalance(account, 20M); Assert.AreEqual(80M, account.Balance); }