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
How can we mock protected classes using Microsoft.VisualStudio.TestTools.UnitTesting.PrivateObject?

Atul
asked by atulbahl (1.2k points)

1 Answer

0 votes
You can use the constructor that takes an assembly name and a type name:

http://msdn2.microsoft.com/library/ms243386.aspx
answered by paulo.morgado (11k points)
...