标签: c# microsoft-fakes
在垫片上下文块结束之前是否有一种方法可以确定实际调用了此块中定义的所有垫片(不向垫片本身添加标记)?
using (var shimsContext = ShimsContext.Create()) { Lib.Fakes.ShimBlah.Foo = ... // Execute code that calls Foo // Check that Foo has actually been called }