I did some more research but your example can't work as Mocks w/ setters and getters can't actually return a value, you can only check if they've been called. It would have to stubbed.
On Jan 12, 6:46 am, Stephen Bohlen <[email protected]> wrote: > I would recommend that you read through the tests that are referenced in > this blog > posthttp://jonkruger.com/blog/2010/03/12/how-to-use-rhino-mocks-documente... > > Its a (reasonably) concise summary of how to use RM to mock most common > use-cases. > > Steve Bohlen > [email protected]http://blog.unhandled-exceptions.comhttp://twitter.com/sbohlen > > > > > > > > On Tue, Jan 11, 2011 at 10:53 PM, kai <[email protected]> wrote: > > I'm looking for some reference material or something I can use thats > > not overly complex that I can use to pick up and start learning the > > concepts of Mocking more specifically using 'Rhino Mocks'. Any help is > > appreciated. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Rhino.Mocks" group.> To post to this group, send email > > [email protected]. > > To unsubscribe from this group, send email > > to>[email protected]<rhinomocks%2Bunsubscribe@googlegrou > > ps.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/rhinomocks?hl=en. -- 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.
