How to verify calls expectations after some point using RhinoMocks

Hi guys. Few weeks ago when I was writing unit tests using RhinoMocks and NUnit I got some special test case – I needed to assert that one method of class under test calls method of another instance while test setup requires execution of code that already calls this method.

Continue reading


How to clear previous setup using Rhino Mocks

Hello ;). Recently, when I wrote tests using RhinoMocks framework for mocks and stubs creation I had one case, in which I needed to stub property to return one value and then overwrite this setup to return another. In this post I will show you how to do this.

Continue reading