class InMemoryBank implements WireTransfers {

  private static final Map<String, Integer> accounts = new HashMap<>();

  static {
    accounts
        .put(LotteryConstants.SERVICE_BANK_ACCOUNT, LotteryConstants.SERVICE_BANK_ACCOUNT_BALANCE);
  }

  @Override
  public void setFunds(String bankAccount, int amount) {
    accounts.put(bankAccount, amount);
  }

  @Override
  public int getFunds(String bankAccount) {
    return accounts.getOrDefault(bankAccount, 0);
  }

  @Override
  public boolean transferFunds(int amount, String sourceAccount, String destinationAccount) {<FILL_FUNCTION_BODY>}
}

    if (accounts.getOrDefault(sourceAccount, 0) >= amount) {
      accounts.put(sourceAccount, accounts.get(sourceAccount) - amount);
      accounts.put(destinationAccount, accounts.get(destinationAccount) + amount);
      return true;
    } else {
      return false;
    }
  
<no_super_class>