I'm currently reading Working Effectively with Legacy Code by Michael Feathers.So far, a lot of techniques the book mentions, start with a problem similar to:it's really difficult / it would take too long to get the class into a test harness...Then the book goes on to suggest a technique to work-around this problem.Lately, I've been working with Jmockit library and it lets you mock pretty much anything you'd like in a pretty easy way.In that case, doesn't it make the aforementioned techniques redundant?Thanks!
Doesn't Jmockit make a lot of techniques mentioned in Working Effectively with Legacy Code redundant?
mocking;legacy code