Go to the DependencyInversionTests.swift
First try to write the two tests without touching the current code. Hard, right?
Now use dependency inversion on the dependencies of the fetchFruit()
method (there are two). Now can you write the tests?
Currently these are integration tests. What do they integrate with, and how can you make this test a simple unit test?