Welcome to the fourth part of the Unit Testing in Swift series!
In this article we will look into implementing custom mock classes to be in complete control of your code while unit testing. If you are new to unit testing and want to learn how to start unit testing with Swift in Xcode, I suggest you take a step back to Part 1: The Fundamentals of the series, before reading further. And if you are wondering why mocking is evenβ¦