If you have a property:
public class Fred
{
public string UserName
{
set
{
userName=value;
}
}
}
how do you use Rhino Mocks to check that
fred= new Fred();
fred.UserName="Jim";
is called.
Expect.Call(mockFred.UserName).SetPropertyWithArgument("Jim");
does not compile.