Mock 之 tear down
Moq
Moq: an enjoyable mocking library
The most popular and friendly mocking framework for .NET
http://www.nuget.org/packages/Moq
参考资料:
State Testing vs Interaction Testing
Moq: Linq, Lambdas and Predicates applied to Mock Objects
https://github.com/Moq/moq4/wiki/Quickstart
git地址:https://github.com/moq/moq4
api地址:http://www.nudoq.org/#!/Projects/Moq