I\'ve been facing a peculiar problem. Basically, when I run my Mockito/PowerMockito test normally i.e. \'Run as Junit Test\', it gives me the following error :
I think there is an issue with Mockito version - I just updated the code from -
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.8.5'
to
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.10.19'