I have a MessageBox.Show method, which has a CallBack action associated with it. I want to Pass a Mocked parameter to that action, which would eventually execute the action statements based on Parameter passed.
I tried something like below, but it did not work.
I want to execute the Original callback, with a mocked DialogResult.
How can we do that?
Thanks in Advance,