DISQUS

DISQUS Hello! Emad Ibrahim is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Jump to original thread »
Author

Mocking and Dependency Injection in ASP.NET MVC

Started by eibrahim · 10 months ago

//Here is the situation, my controller constructors take multiple interfaces as parameters.  I do this in order to use constructor injection which allows me to inject the controllers with mocked objects in my unit tests.
For example, my AccountController takes IEmailService, IFo ... Continue reading »

1 comment

Add New Comment

Returning? Login