CUPID – the back story
Honest question: if you don&#x27;t do dependency inversion, or if you don&#x27;t depend on interfaces&#x2F;abstractions that can&#x27;t be mocked - how do you unit test your code?<p>Unit testing is the only reason pretty much all of my code depends on interfaces. Some people seem to consider this a bad thing&#x2F;over-engineering, but it&#x27;s how I&#x27;ve seen it done in every place I&#x27;ve worked at.<p>How do you do it?