Coding Challenge

Purpose

The purpose of this challenge is to be able to give a fairly simple problem for a canidate to work through collaborating with us.

ALL WORK SHOULD BE DONE IN challenge.java FILE

Challenges

Pre-Instructions

Initially there should be 3 failing tests getAccount_findsAccountReceiver transfer_InsufficientFunds transfer_successfulTransfer

Challenge Questions

  1. Fix the error in the findAccount.
    • getAccount_findsAccountReceiver and transfer_successfulTransfer tests pass.
  2. Fix the error in the transfer
    • All tests pass.
  3. Ask the canidate how they might refactor 'challege.java' code.
  4. Ask the canidate how they might refactor the classes in the common package.