Closed picimako closed 2 years ago
In Mockito 4.8.0 https://github.com/mockito/mockito/issues/2626 introduced the mockMaker attribute in the @Mock annotation, and the mockMaker(String mockMaker) method in MockSettings.
mockMaker
@Mock
mockMaker(String mockMaker)
MockSettings
MockMakers
Completed in v0.8.0.
Summary
In Mockito 4.8.0 https://github.com/mockito/mockito/issues/2626 introduced the
mockMaker
attribute in the@Mock
annotation, and themockMaker(String mockMaker)
method inMockSettings
.Tasks
@Mock
to field and vice versa conversion to support this setting.To be clarified
MockMakers
class (see related PR) can be utilized in some way.