uncategorized

Another Mocking Template for ReSharper

I spent some time today writing ordered mock tests and realized that I needed a nice quick template for the using statement.  You can download it here.  After importing it you’ll be able to use it by highlighting the mock expectations clicking Ctrl-Alt-J and choosing ‘om’ (ordered mock).  Voila.  Just to note that this is tied to the mock test File Template that I posted here.  If you use something other than Rhino Mocks or you’re not using the same mockery variable name, you will need to tweak the Surround With template to work for you.