public void Init() { _source = new Account(); _source.Deposit(200m); _destination = new Account(); _destination.Deposit(150m); }
public void TransferFunds(Account destination, decimal amount) { if (Balance - amount < minimumBalance) throw new InsufficientFundsException(); destination.Deposit(amount); Withdraw(amount); }