Closed GoogleCodeExporter closed 9 years ago
SystemPropertySetter is to set system properties with key and value.
Mocking is not happening I guess.
Original comment by dlaksh...@cordys.com
on 25 Jan 2013 at 12:50
Hi,
Your test code looks complex, I'm not sure what's wrong because it's not
straightforward. Plus it seems the code is using statics which is most of the
time a bad idea.
In my opinion you should check that the code is actually calling the real mock
instance, or that the method being mocked is not final.
I'll invalidate the issue, but if you feel there is a real bug, please say so :)
Also instead of creating an issue please ask on the mailing-list.
Hope that helps.
Original comment by brice.du...@gmail.com
on 28 Jan 2013 at 3:30
Original issue reported on code.google.com by
dlaksh...@cordys.com
on 25 Jan 2013 at 12:48