Using Moq for testing

Install the nuget Moq package. Below is a simple example to create a mock for a database implementation (which is also a mock :-)).

Share

Leave a Reply

Your email address will not be published. Required fields are marked *