One of the problems with static members or static classes is that you can't mock them for proper unit-testing. Instead of taking this fact for granted, let's demonstrate it. Assume that we have the following classes (please note, this is just
Read More...
Read the complete post at http://www.lnbogen.com/HowToMockStaticClassOrStaticMemberForTesting.aspx