I have number of classes I\'ve been asked to add some unit tests to with Rhino Mocks and having some issues.
First off, I know RhinoMocks doesn\'t allow for the mock
Here's a low-touch approach that uses a delegate, which can be set initially and changed at runtime. It's better explained by example (specifically, mocking DateTime.Now):
http://www.lostechies.com/blogs/jimmy_bogard/archive/2008/11/09/systemtime-versus-isystemclock-dependencies-revisited.aspx