Well, let's start this way--what's your understanding of what dependency injection is? Can you think of any reasons it might make testing easier?
Joined: Nov 13, 2008
well with dependency injection we can inject the mock objects first till we get the required output and then inject the original objects ... in this way testing became flexible with dependency injection??