Skip to content

API for MockSettings for Spies - #3587

Open
DerKanzler wants to merge 3 commits into
mockito:mainfrom
DerKanzler:main
Open

DerKanzler wants to merge 3 commits into
mockito:mainfrom
DerKanzler:main

Conversation

@DerKanzler

@DerKanzler DerKanzler commented Feb 11, 2025 •

Copy link
Copy Markdown

Fixes #3586.
Adds API to pass on MockSettings for Spies to add i.e. your own invocation listeners and manipulate the behavior accordingly. Similar method for Mocks already exists.

Checklist

  • Read the contributing guide
  • PR should be motivated, i.e. what does it fix, why, and if relevant how
  • If possible / relevant include an example in the description, that could help all readers
    including project members to get a better picture of the change
  • Avoid other runtime dependencies
  • Meaningful commit history ; intention is important please rebase your commit history so that each
    commit is meaningful and help the people that will explore a change in 2 years
  • The pull request follows coding style
  • Mention Fixes #<issue number> in the description if relevant
  • At least one commit should mention Fixes #<issue number> if relevant

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API for MockSettings for Spies

1 participant