-
Notifications
You must be signed in to change notification settings - Fork 80
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
JMockit to Mockito Recipe - Handle Typed Class Argument Matching and Collections #420
JMockit to Mockito Recipe - Handle Typed Class Argument Matching and Collections #420
Conversation
src/main/java/org/openrewrite/java/testing/jmockit/JMockitExpectationsToMockito.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much appreciate the continued work on this! Let me know when this is ready to review & merge.
Will do, I want to polish this a bit more - the code is getting tougher to read. |
@timtebeek ready for review & merge |
src/main/java/org/openrewrite/java/testing/jmockit/JMockitExpectationsToMockito.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again!
What's changed?
What's your motivation?
Continuation of #419.
Handle JMockit typed argument matchers like
mockInstance.anyMethod((List<String>) any)
.Anything in particular you'd like reviewers to focus on?
Anyone you would like to review specifically?
Have you considered any alternatives or workarounds?
Any additional context
Checklist
./gradlew licenseFormat