Mocking indexer setters with Moq
Posted by: More Whidbey stuff,
on 15 Jun 2009 |
View original | Bookmarked: 0 time(s)
I quite like MoQ because it makes sense for me. Shamefully, Ive 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. Its just super-clear to me. It doesnt mean I have any idea how it really works but for now Im just happy with the magic. Anyway, yesterday I wanted to check that a controller action was setting some Application variable (lets not get into the debate on whether or not it should do that at all)....