This is a follow-up on that other post: Mocking indexer setters with Moq . So thanks to that post, we now know how to intercept the setting of a particular indexed property (in our example, an application variable) and set a local variable with the value...
I quite like MoQ because it makes sense for me. Shamefully, I’ve always had some trouble understanding test code that was using mocks built with other frameworks. With MoQ , I can just grok it for some reason. It’s just super-clear to me. It doesn’t mean...