I'm wondering why I'm so late to doing mocking in unit tests. Theories:
1. In compiled languages it (is?) was really, really hard. The language fights against using a mock when the code clearly states only a particular class is acceptable.
2. Because mocking is highjacking normal calls, it is going to be somewhat different for each runtime (what you learned about intercepting calls in language 1 probably doesn't apply to language 2)
♡ 1 ↻ 03. The pit of failure for mocking is much greater (e.g. writing tests that only verify that the mock behaves as expected and ignore the code under test)
♡ 1 ↻ 0