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 am getting "Can not fake abstract class Mock0003XmlNode with non public constructor." exception below is the line which is throwing the exception: -

var fakeXmlNode = Isolate.Fake.Instance<XmlNode>();

Any Ideas?
asked by naveen_2481 (600 points)

2 Answers

0 votes
Hi,

What version of Isolator are you using?

Thanks!
answered by igal (5.7k points)
0 votes
Naveen,

This is a known limitation - you should fake a concrete implementation of XmlNode to get started - for instance XmlDocument. Can you provide more information on what you're trying to test so I can help?

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