How to Design Swift Mock Objects • Quality Coding

I've seen many examples of Swift mock objects that won't be great for ongoing maintenance. Here are 6 concrete recommendations of ways to improve them.