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

I'm trying to fake the OracleDataReader object without any success. When I'm trying to do the following: Isolate.Fake.Instance<OracleDataReader>(), I get some kind of an error indicating that the constructor could not be faked and get a NullReferenceException. No combination of parameters in the constructor of Instance<>() help.

Do you have any suggestions?


Thank you in advance for the help.
asked by mod (5.8k points)

1 Answer

0 votes
Hi,

Sorry but I can't reproduce the error on my machine :(
What version of the Isolator are you using?
Can you please post the test code?
answered by ohad (35.4k points)
...