posted 14 years ago
Hi,
I'm trying to do partial mocking in PowerMockito v 1.2.5 with the following code:
I get the following error:
It seems to me like PowerMockito mocked the whole object and not just the method. When running methodA, nothing inside it gets executed hence the exception because methodB was never called.
Anybody has an idea? Thanks