Closures, Anonymous Classes and an alternative approach to Test Mocking
I have heard people say that you shouldn’t test abstract classes or traits, only the concrete classes that implement or use them. I don’t follow that approach: unit testing is all about testing in isolation from anything that might affect those tests.
Post #113
669