I think StrictMultiMock will work in this case. Here's a quick example I tried:
http://pastebin.com/8TS4tEpZ --- Patrick Steele http://weblogs.asp.net/psteele On Tue, May 18, 2010 at 11:25 AM, Adriano Labate <[email protected]> wrote: > Hello, > > I can't find how to create a mock for a class implementing two > interfaces with the new AAA model in version 3.5. > > Before 3.5, I called: CreateMultiMock<IFirstInterface>(typeof > (ISecondInterface)) > > Could I call this method when using the AAA model, or is there another > way to get the same result? > > Thanks -- 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.
