public void DepositShouldAddAmount() { decimal depositAmount = 100; _banker.Deposit(_myAccount, depositAmount); decimal finalAmount = _banker.GetAmount(_myAccount); Assert.AreEqual(depositAmount, finalAmount); }
protected void DisplayBalance(Account account) { decimal currentAmount = Banker.GetAmount(account); DialogConsole.DisplayUser($"You have now {currentAmount} on your account."); }