Hi Guys,
I am using rhino mocks 3.5 and am trying to throw an exception in my expectation to test some functionality in my catch block.
But for some reason it is not throwing the exception.
_xyz.stub(x => x.function(string)).throw(new exception("test string"));
So, I am stubbing out the call to the function to throw exception but it is not throwing the exception.