Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Mockito 5 #4366

Closed
wants to merge 1 commit into from
Closed

Upgrade to Mockito 5 #4366

wants to merge 1 commit into from

Conversation

hpoettker
Copy link
Contributor

This PR upgrades Mockito to version 5.3.1.

I refactored the test that previously stalled. The creation of the mocks seems to interfere with the proxying of the configuration class as the problem can also be solved by setting proxyBeanMethods = false.

I also replaced some of the ArgumentCaptors with assertArg that is available since Mockito 5.3.

@fmbenhassine
Copy link
Contributor

Thank you for looking into this! LGTM 👍 Rebased and merged as 4faa842.

@hpoettker hpoettker deleted the mockito-update branch May 3, 2023 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants