A few Powermock/Mockito articles mentioned use of a PowerMock.mockStaticPartial method – the only problem is I can’t find it anywhere!
Does anyone know which artifact and version this exists/existed in?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is definitely in v1.4.11 of powermock-api-easymock see powermock-api-easymock-1.4.11.jar for Maven/Ivy details and a view of the .jar itself.
The Maven dependency is:
If you are using Mockito as well, you should be aware of the version compatibility between Mockito and PowerMock, see http://code.google.com/p/powermock/wiki/MockitoUsage13 for which versions work together.