Hi Tim, sorry if my reproduction recipe was without real asserts to guide you in understanding what was the intended purpose of the test and made you guess. But you guessed right. I had already figured out that constraints were generated by by the arguments passed to the expect call but you just confirmed it.
Option 2 is not an option for me because I need a more complex constraints than just equals on the Expect.call arguments. Your option 1 though is exactly what I need. I thought that IgnoreArguments() and Constraints() were mutually exclusive and never thought of combining them. For the record I will also add that I was able to make this work by using the Callback() mechanism but I will go with you option seems it is cleaner. Thanks a lot for your help Marcel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
