-
Notifications
You must be signed in to change notification settings - Fork 74
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
PowerMockito doThrow(Throwable).when(Class, String, any())
not converted to Mockito single argument when
#597
Comments
Hi @anand188 ; There's been a recent fix to the Powermock migration recipe in: Would you mind trying again with the latest version? Beyond that your question lacks the details we need to replicate the issue; |
@timtebeek tried 2.17.1 also doesn't seem to address the issue same not completing migrating. |
|
Ah yes that form is not yet support; that makes this sounds more like a feature request to expand coverage of our Powermock migration recipe. Would you be willing to help out with it's implementation? The first step would be a draft pull request that adds your case to this unit test; we can collaborate from there: Lines 620 to 661 in e9497f1
|
doThrow(Throwable).when(Class, String, any())
not converted to Mockito single argument when
@timtebeek thanks let me see if its possible for me to learn and update this |
I am using
org.openrewrite.maven rewrite-maven-plugin 5.39.2 true org.openrewrite.java.testing.mockito.ReplacePowerMockito org.openrewrite.recipe rewrite-testing-frameworks 2.17.0Is your project a single module or a multi-module project? Yes
Can you share your configuration so that we can rule out any configuration issues?
Is your project public? If so, can you share a link to it? no
The text was updated successfully, but these errors were encountered: