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
Hi,

I want to mock a private method of the class which takes string type argumets and want to return user define value from the mocked function. Kindly help me for the same. Thanks
asked by sony (7.2k points)

1 Answer

0 votes
Hi,

Did you see the documentation entries for faking non public behavior? Check out the APIs for Isolate.NonPublic.WhenCalled(), and let us know if they achieve what you are trying to do.

Doron
answered by doron (17.2k points)
...