chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
0 votes
I have used AAA DoInstead method to mock a generic call but when my MockdMethod( TypeMock.MethodCallContext context ) is called I cannot read the context to find out what generics were used when the mocked method was called.

To accomplish this I used to pass the TypeMock.MockMethodCalledEventHandler to the return value for the mocked object. When I try to send that type to the Isolate.WhenCalled( ... ).WillReturn( new MockMethodCalledEventHandler( ... ) ); it blows up.

Please Help
-Tom
asked by trp (4.1k points)

1 Answer

0 votes
Hi Tom,

I'm not exactly sure I understand the entire flow you went through. Can you post the test code here?

Thanks,
Doron
Typemock Support
answered by doron (17.2k points)
...