I presume since it returns nothing you mean "mock" a method. I don't mean to be pedantic but what it sounds like you're trying to do is make sure something was called (this void method). If that is the case you are wanting a mock.
If you confirm I'm correct (or correct me if I am wrong) I will quickly supply the code. Tim On Tue, Aug 17, 2010 at 2:36 PM, samah <[email protected]> wrote: > Hi all, > > How can we stub a method that returns nothing using Rhino Mocks? > > Thanks, > > -Samah > > -- > 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]<rhinomocks%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rhinomocks?hl=en. > > -- Tim Barcz Microsoft C# MVP 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.
