jasontaylordev / NorthwindTraders

Northwind Traders is a sample application built using ASP.NET Core and Entity Framework Core.
MIT License
5k stars 1.59k forks source link

How can we write unit test cases for controllers extending base controller as we are not using constructor injection. any leads will be appreciated. #269

Closed qnxrahul closed 1 year ago

qnxrahul commented 4 years ago

https://stackoverflow.com/questions/62234097/unit-test-derived-controller-class-using-protected-mediator-in-base-controller-i. I am facing the same issue while trying to write the unit test cases

jasontaylordev commented 1 year ago

Thank you for your interest in this project. This repository has been archived and is no longer actively maintained or supported. We appreciate your understanding. Feel free to explore the codebase and adapt it to your own needs if it serves as a useful reference. If you have any further questions or concerns, please refer to the README for more information.