0
kicks
HowTo: Setting Expectations on Stubs using RhinoMock
When using a mocking tool like RhinoMocks, one of the features that it can provide is the ability to A) create a stub of an object and B) set expectations on Method/Property calls that are part of that method. Doing this is pretty easy, but like all things there are some ‘gotcha’s’.