https://github.com/nsubstitute/NSubstitute http://nsubstitute.github.io/help/creating-a-substitute/ 转载于:https://www.cnblogs.com/chucklu/p/9118529.html