You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inconvertible Mockito when situation involving lambda and static method. (#763)
* Showing situation where we wouldn't be able to safely convert `when(...).thenReturn(..)` to `staticMocked.when(...).thenReturn(..)`
* Adding a change that would prevent it from tring to use a lambda parameter as a class, which leads to something that can't be compiled.
* Update src/main/java/org/openrewrite/java/testing/mockito/MockitoWhenOnStaticToMockStatic.java
---------
Co-authored-by: Sam Snyder <sam@moderne.io>
0 commit comments