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
0 votes
I need to test protected member variables of a abstract class.

Any leads or suggestions.

Atul
asked by atulbahl (1.2k points)

1 Answer

0 votes
Hi
Currently TypeMock can not mock member variables.
However you can mock methods and properties of abstract class
using MockObject.
Look here for more information.

I suggest you'll try to post code example of the problem you have and we'll
try to help with it.
answered by ohad (35.4k points)
...