Hi all,
I am a keen user of RhinoMocks developing from a TDD and AAA perspective with NUnit and ReSharper. I am changing jobs and the team I am moving to uses TypeMock so I want to hit the ground running... and I have run into a problem. How can I get the arguments for a called method on a mock object. When using RhinoMocks I use:
mockObject.GetArgumentsForCallsMadeOn(x => x.MethodIWantToGetParametersFrom(null))
Which returns a IList of type object array. Great! I go and get what I want and process it how I wish. Now using the AAA syntax of TypeMock I cannot seem to work out a way to do this... Could anyone shed some light on this please? Should I be doing it differently?
Thanks for reading and I look forward to your responses!
Adam