PropertyBehavior and expectations are not the same thing... On Mon, Jun 8, 2009 at 4:05 AM, Ant <[email protected]> wrote:
> > I am trying to test the interaction in an MVP setup. > I want to test that a property on my view is set from a property on > the model. > > Currently, I have to do dummy up a return value like so: > > Expect.Call(model.StopPrice).Return(213.2); > view.StopPrice = 213.2; > > Why can't i just not care about the value and do this: > > view.PropertyA = model.PropertyA; > > > > -- Tim Barcz 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 -~----------~----~----~----~------~----~------~--~---
