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
picimako
changed the title
Inspection: Report and convert MockSettings.spiedInstance() based spies to Mock.spy()
Inspection: Report and convert MockSettings based mock creations to their simpler variants
Jul 14, 2023
Summary
The javadoc of some methods in
org.mockito.MockSettings
states that they have simpler versions of creating and configuring the mock:spiedInstance
name
defaultAnswer
Tasks
withSettings()
based mock creation.The text was updated successfully, but these errors were encountered: