How can I get private members of a mocked class?
Using the PrivateObject
class I can access private members of a class.
But I cannot access private members if that class is mocked using Moq.
Using the PrivateObject
class I can access private members of a class.
But I cannot access private members if that class is mocked using Moq.