A key strength of Dependency Injection is that unit testing with DI supposed to be easy by switching components with their mock representatives. To be able to successfully mock a dependency is not hard, but it still required a few steps that may take a couple hours to get right. Below is a tutorial on…
Read more