Skip to content

GH-3383: Modernize mockito#3384

Merged
wgtmac merged 6 commits intoapache:masterfrom
dossett:mockito5
Feb 27, 2026
Merged

GH-3383: Modernize mockito#3384
wgtmac merged 6 commits intoapache:masterfrom
dossett:mockito5

Conversation

@dossett
Copy link
Contributor

@dossett dossett commented Jan 1, 2026

Closes #3383

  • Substantially upgrades mockito
  • drop use of powermock in favor of new mockito functionality
  • replace a single use of easymock with mockito functionality

</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For reasons I don't understand this started getting flagged as an undeclared dependency. This seems correct, but I don't know why it wasn't getting flagged before.

Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh wow, that is a big jump! Thanks for modernizing this

@dossett dossett changed the title Modernize mockito [GH-3383] Modernize mockito Jan 14, 2026
@wgtmac wgtmac changed the title [GH-3383] Modernize mockito GH-3383: Modernize mockito Feb 27, 2026
@wgtmac
Copy link
Member

wgtmac commented Feb 27, 2026

Thanks @dossett for improving this and @Fokko for the review!

@wgtmac wgtmac merged commit 6c7cefd into apache:master Feb 27, 2026
5 checks passed
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.

mockito should be upgrade to 5.x

3 participants