Approach 2b: Pros and Cons

  • Pro: Now we can test TradeCalculator without worrying about the database
    • ... or actually making trades
  • Con: Still need to figure out who builds the ProfileFetcher...
  • Con: A bit more complex to deal with

25 / 31