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

Add support for mockMaker in @Mock and MockSettings #43

Closed
picimako opened this issue Sep 26, 2022 · 1 comment
Closed

Add support for mockMaker in @Mock and MockSettings #43

picimako opened this issue Sep 26, 2022 · 1 comment
Assignees
Labels
feature New functionality
Milestone

Comments

@picimako
Copy link
Owner

Summary

In Mockito 4.8.0 mockito/mockito#2626 introduced the mockMaker attribute in the @Mock annotation, and the mockMaker(String mockMaker) method in MockSettings.

Tasks

  • Extend @Mock to field and vice versa conversion to support this setting.

To be clarified

  • See if the newly introduced MockMakers class (see related PR) can be utilized in some way.
@picimako picimako added the feature New functionality label Sep 26, 2022
@picimako picimako added this to the v0.8.0 milestone Sep 26, 2022
@picimako picimako self-assigned this Sep 26, 2022
@picimako picimako changed the title Add support for mockMaker in '@Mock' and MockSettings Add support for mockMaker in @Mock and MockSettings Sep 26, 2022
@picimako
Copy link
Owner Author

picimako commented Sep 27, 2022

Completed in v0.8.0.

picimako added a commit that referenced this issue Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality
Projects
None yet
Development

No branches or pull requests

1 participant