Test Doubles in Swift
One of the first things I realised when I started coding in Swift was that strict type check would force us to adapt the way we test our applications.
Back in Objective-C, whenever we wanted to mock a class or create a stub, we simply had to use libraries like…