Be cautious with Moq strict mock usage

More on that later. But the idea is that you should be very carefully on how you setup your unit tests if you are using Moq strict mock feature.

Any call which is not explicitly setup will just fail if you are using strict mock.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s