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

Auto-detect the class/interface to be mocked #4426

Closed
wants to merge 1 commit into from

Conversation

lsq27
Copy link
Contributor

@lsq27 lsq27 commented Jul 26, 2023

Just replace mock(Class<T> classToMock) with mock().
Make code more clean.
All tests passed.

@fmbenhassine fmbenhassine added this to the 5.1.0-M2 milestone Aug 3, 2023
fmbenhassine pushed a commit that referenced this pull request Aug 3, 2023
@fmbenhassine
Copy link
Contributor

LGTM. Rebased and merged as 1add283. Thank you for your contribution!

fmbenhassine pushed a commit that referenced this pull request Aug 3, 2023
@fmbenhassine fmbenhassine added the for: backport-to-5.0.x Issues that will be back-ported to the 5.0.x line label Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: backport-to-5.0.x Issues that will be back-ported to the 5.0.x line pr-for: enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants