RhinoMock : How to Stub and Return a method with complex object as parameter?

If it doesn't return what you'd expect, than the parameters between the stub call and the actual call don't match. Let's say you have something like this.

I believe the problem is not in a complex datatype rather expectations you've set. As first try add IgnoreArguments() before the Return, it could be that dataTable you've specified in expecation differ from an actually passed in DataTable instance so expectation won't pass.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions