In this post, I’m going to show how you can leverage arrays in your mocks to write better quality and more readable unit tests that might help you catch bugs in your code that you didn’t even know existed. What are unit tests and mocks? Although I’m not going to cover in detail what mocks and…