c# - Check that all the shims defined within a ShimsContext have been called -



c# - Check that all the shims defined within a ShimsContext have been called -

is there way before end of shims context block ascertain shims defined in block have been called (without adding flag shim itself)?

using (var shimscontext = shimscontext.create()) { lib.fakes.shimblah.foo = ... // execute code calls foo // check foo has been called }

c# microsoft-fakes

Comments

Popular posts from this blog

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -