-
Notifications
You must be signed in to change notification settings - Fork 583
Closed
Labels
Description
When I try to use PowerMockito (the latest available 1.6.5) alongside Mockito 2.1.0 I get an exception in every test run even if tests do not use PowerMockito.
java.lang.AbstractMethodError: org.powermock.api.mockito.internal.mockmaker.PowerMockMaker.isTypeMockable(Ljava/lang/Class;)Lorg/mockito/plugins/MockMaker$TypeMockability;
This issue has been post to Mockito's github and it is clear PowerMockito has not adopted the latest Mockito changed yet.
mockito/mockito#292
The same issue is asked at StackOverflow:
http://stackoverflow.com/questions/31685267/error-initializing-mockito-everytime-and-for-any-test-cases
Observed behavior: AbstractMethodError
Desired behavior: no error
caltseng