Hi, I have a question you might help me with. We need to verify that a method A calls any of the overloaded forms of method B.
e.g. I have void B(int) void B(int, int) void B(int, int, int) and I don't care which one of those is called from my method A (at least one must be called). Is it possible with Rhino Mocks to define "alternative expectations" ? Like a set of expectation from which at least one must be met (or something like .VerifyAnyExpectation instead of .VerifyAllExpectations) ? If this is not possible, what would you suggest for this scenario? What I did now is grouped the 3 methods in the most complex one. The call B(x) will now be B(x, null, null), but I don't like this work- around and I'm looking for better alternatives. Thanks, Al --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
