Carestream Health interview question

Question: What is dependency injection?

Interview Answer

Anonymous

29 Jan 2022

Dependency injection is used during unit testing to replace the application's runtime data source with an alternative (like moq).