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
Starting with Mockito 5.3.0, the mockito-inline dependency is no longer published :
The inline mockmaker is the default mockmaker since 5.0.0 and we stopped publishing the artifact in 5.3.0. You can replace it with mockito-core to get the same outcome.
What precondition(s) should be checked before applying this recipe?
Previously, we can use mockito-inline to mock the final class.
As [Mockito 5] switches the default mockmaker to mockito-inline, we removed the mockito-inline dependency, and then the mock of the final class failed.
Is there any solution for that?
coz mockito-inline no longer upgrades after 5.2.0, thx.
What problem are you trying to solve?
Starting with Mockito 5.3.0, the
mockito-inline
dependency is no longer published :What precondition(s) should be checked before applying this recipe?
Describe the situation before applying the recipe
Describe the situation after applying the recipe
Mockito needs to be upgraded to > 5.2.0
Additional context
mockito/mockito#3039
mockito/mockito#2877
The text was updated successfully, but these errors were encountered: