This post is derived from the Rhino Mocks 3.5 documentation . Setting expectations for property set was always very simple, and slightly confusing with Rhino Mocks. Here is how you do it: view.Username = " the user name "; The problem is that
Read More...
Read the complete post at http://ayende.com/Blog/archive/2008/10/09/rhino-mocks-3.5-gems-explicit-property-setting-expectations.aspx