C# .NET Core Unit Test data access layer method that use SQL Connection and SQL Command – could not mock this concrete class
The data access layer code has couple of method for fetch and update. please find sample that has one method. I need to write unit test. The challenge I face is unable to mock SqlConnection and SqlCommand with isolation from database.