mocking superclass protected variable using jmockit
Posted
by shashi
on Stack Overflow
See other posts from Stack Overflow
or by shashi
Published on 2009-01-11T17:30:59Z
Indexed on
2010/06/10
9:02 UTC
Read the original article
Hit count: 344
Hi,
I couldnt able to mock the protected varibale defined in the superclass.i could able to mock the protected method in superclass but couldnt to mock the protected variable in to the subclass ,wherein am writing the testcase for subclass,Please if anybody out there has any soluton for it .please reply.
Thanks Shashi
© Stack Overflow or respective owner