Mock constructor arguments of inherited classes which differ from parent class costructor arguments
I’m writing tests for controllers actions of ASP.Net Core application. All controllers of my app inherited from base controller, let’s call it MyBaseController
. Constructor of this class looks like this: