I prefer to write (b) and as someone who knows Rhino Mocks I prefer to
read (b) as well, for someone not familiar I reckon (a) is better.

If it was possible I'd like to have:
mockViewEngine.Stub(x => x.FindView(Arg.Ignore, Arg.Ignore,
Arg.Ignore, Arg.Ignore)).Return(...);

2009/9/24 Tim Barcz <[email protected]>:
> Curious about people's preference.  Which would you prefer to a) read b)
> write ?
>
> mockViewEngine.Stub(x => x.FindView(Arg<ControllerContext>.Is.Anything,
> Arg<string>.Is.Anything, Arg<string>.Is.Anything,
> Arg<bool>.Is.Anything)).Return(...);
> mockViewEngine.Stub(x => x.FindView(null,
> null,null,false)).IgnoreArguments().Return()
>
> --
> Tim Barcz
> Microsoft ASPInsider
> http://timbarcz.devlicio.us
> http://www.twitter.com/timbarcz
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rhinomocks?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to