How to use Microsoft.Extensions.Configuration.IConiguration in my XUnit unit testing
问题 In my Asp.net Core 2.0 application, I am trying to unit test my data service layer (.Net Standard Class Library) that uses the Microsoft.Extensions.Configuration.IConfiguration dependency injection. I am using XUnit and don't know how to pass IConfiguration from my unit test class. I tried the following implementation and getting the error Message: The following constructor parameters did not have matching fixture data: IConfiguration configuration. I am really new to the testing frameworks