New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mockito 3.x support #1055
Comments
Mockito 3.3.2 worked fine for me with PowerMockito 2.0.7, but when upgrading Mockito to 3.4.2 I got (across OpenJDK 8, 11 and 14): 2020-07-17T09:04:15.2938455Z java.lang.NoSuchMethodError: 'void org.powermock.api.mockito.internal.configuration.PowerMockitoInjectingAnnotationEngine.injectMocks(java.lang.Object)' |
See also mockito/mockito#1981, in case it's decided to fix this on the Mockito side. |
Maybe fixed by mockito/mockito#1974? |
According to #1049 Mockito 3 is now supported. |
Currently I am using Mockito 3.x, the document of PowerMock shows that it's not supported.
see https://github.com/powermock/powermock/wiki/mockito
We really hope Mockito 3.x can be supported soon
The text was updated successfully, but these errors were encountered: