Functional Programming, Simpler Unit Testing Part 3
In the previous part of the series (Functional Programming, Simpler Unit Testing Part 2) I illustrated how we can use mocks and stubs to handle tests for functions that depend on objects that produce side effects. Now we are going to take a…