Just create a stub for it: var sc = MockRepository.GenerateStub<SomeClass>(); sc.MyProperty = true;
--- Patrick Steele http://weblogs.asp.net/psteele On Wed, Nov 30, 2011 at 4:01 AM, hagai cohen <[email protected]> wrote: > sample: > abstract bool MyPeoprty > { > get; > set; > } > > I would like to stub it with Rhino. > anyone ? > > hagai > > -- > 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. > > -- 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.
