openrewrite / rewrite-testing-frameworks

OpenRewrite recipes that perform common Java testing migration tasks.
Apache License 2.0
77 stars 73 forks source link

Added handling of org.mockito.Mockito.eq(..) when simplifying mockito matchers #635

Closed adambir closed 3 weeks ago

adambir commented 3 weeks ago

What's changed?

Added a test for issue #634 Added handling of org.mockito.Mockito.eq(..) when simplifying mockito matchers

What's your motivation?

We are using import static org.mockito.Mockito.*; at my company, and in its current state this recipe does not support it.

Checklist

timtebeek commented 3 weeks ago

Thanks for the initiative here @adambir ; looks like this was missed earlier indeed; great addition.