Mocking
Mocking can be a powerful technique to test code that has side effects.
Links
Reorganising Tests
Up next
Testing Time