Hi,
Basically the test where we would verify the params was not a pure unit test, it was a kind of integration test.
Basically the class under test is a kind of manager that creates a number of private members using its constructor's parameters.
So, in our tests we would verify it provides the right parameters in the constructors of its private members.
Because not always we have getter-properties to access to these private members, we would "intercept" their creation (using ExpectConstructor) and directly verify the passed params.
Is there a way so that I can set an handler where I can access to the entire set of args?
That is, something like:
mock.ExpectCall("aMethod");
mock.MethodSettings("aMethod").MockMethodCalled += OnMethodCalled;
Regards
-Simo