Loosely-Coupled
- Anything that calls an external dependency, put into another class
- Extract an interface from that class
- Make it so that the class undertest now calls the interface
This will allow you to mock the interface
This will allow you to mock the interface