Skip to content

Replace hand-written JPA test mocks with Mockito#354

Merged
manovotn merged 1 commit into
weld:mainfrom
manovotn:mockito-test-mocks
Jun 12, 2026
Merged

Replace hand-written JPA test mocks with Mockito#354
manovotn merged 1 commit into
weld:mainfrom
manovotn:mockito-test-mocks

Conversation

@manovotn

@manovotn manovotn commented Jun 12, 2026

Copy link
Copy Markdown
Member

I have no idea why we had these mocks created manually since we did use Mockito from the get-go.
There seems to be no issue replacing them with Mockito calls and I am not going to say no to such huge boilerplate removal :)

@manovotn manovotn merged commit e4bee76 into weld:main Jun 12, 2026
3 checks passed
@manovotn manovotn deleted the mockito-test-mocks branch June 12, 2026 12:22
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.

1 participant