softwareonastring.com
How do I make a method use a different class in unit tests?
The code you work on has this wonderful simple method. All it does is use a couple of other classes, passing through the parameters it received and setting some properties. As it is such a simple f…