Last Updated: 14 May 2013 12:12 by ADMIN
Chris Eargle
Created on: 18 Mar 2013 23:10
Type: Feature Request
Automocking Support for classes with Multiple Constructors
Please allow automocking support for classes with multiple constructors. This is important for projects not using DI containers but using dependency injection. A classic example is ASP.NET MVC and ASP.NET Web API where standard routing requires a constructor with no parameters. When using DI via constructors but without containers, the overloaded ctor specifies services/repositories and the default ctor passes the default services/repositories.
1 comment
Posted on: 14 May 2013 12:12
This feature is implemented and publicly available in the JustMock Q1 2013 SP2 version. Please give it a try and let us know what you think.