I'm having problems figuring out the proper arguments of the Arg option in RhinoMocks.
I am trying to mock the MSIRecordGetString method which has a ref Int32 parameter. Currently I have:
_Api.RecordGetString(Arg<IntPtr>.Is.Anything,
Arg<Int32>.Is.Anything,
Arg<StringBuilder>.Is.Anything,
ref Arg<Int32>.Ref( ???, 0).Dummy);
Can anyone let me know what ??? should/could be replaced with. I know it should be something of type AbstractConstraint but I'm not sure what is valid. Having difficulty finding any examples of proper usage.
Cheers.