This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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??