Hello, is there a simple way to create a recursive stub in RhinoMocks? Some thing like TypeMock's fake.
var fake = Isolate.Fake.Instance<SomeType>(); //code under test can fake.SomeProperty.DoSomething() //or var propObj = fake.SomeProperty; propObj.DoSomething(); (http://weblogs.asp.net/rosherove/archive/2009/07/09/minimizing-unit- test-fragility-8-features-in-typemock-isolator-to-help.aspx) I'm aware that there are only special cases where such a feature might make sense, but sometimes i just want stub a parameter object - without any expectations on its usage. Best regards, Andreas -- 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.
