public void setUp() { source_ = new Account(); source_.Deposit(200.00F); destination_ = new Account(); destination_.Deposit(150.00F); }
public void TransferFunds(Account destination, float amount) { if (balance_ - amount < minimumBalance_) throw new InsufficientFundsException(); destination.Deposit(amount); Withdraw(amount); }