Carestream Health interview question

Question: What is dependency injection?

Interview Answer

Anonymous

Jan 29, 2022

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