关于[Sometimes It's Easier to Mock Without Moq]的摘要:
I like Moq. It’s easy to use and it’s used frequently enough that developers are familiar with it. But sometimes there’s an even easier way to write tests, and that involves creating classes that mock interfaces. As an example (I’ll try not to convolute this) suppose we have a class that...
原文地址: http://scotthannen.org/blog/2020/07/10/easier-to-mock-without-moq.html