after upgrade to 2.7 ClassNotFoundException: org.mockito.exceptions.Reporter when run test
PowerMock 1.6 isn’t compatible with Mockito 2.7 (take a look at https://github.com/powermock/powermock/wiki/Mockito#supported-versions) You should use PowerMock 1.7.0RC2 (or 1.7.0RC3 if 1.7.0RC2 doesn’t work), and also use powermock-api-mockito2 instead of powermock-api-mockito.