I\'m trying to test my controllers using xUnit
but getting the following error during execution of Customer Controller:
\"The following constr
For the testing framework, you need the mocking library to inject a mock object through DI in your testing classes. You can use Nmock, Moq or any other mocking library to setup the constructor injection.
https://www.c-sharpcorner.com/uploadfile/john_charles/mocking-in-net-with-moq/
http://nmock.sourceforge.net/quickstart.html