MockitoSettings now has a setting withoutAnnotations. Please allow mock to accept this value.
Recommend that mock also takes a parameter onSettings: MockitoSettings.() -> Unit = {} which allows callers can optionally use to configure the MockitoSettings directly if such a situation comes up again with another setting that mockito-kotlin does not yet support.
MockitoSettingsnow has a settingwithoutAnnotations. Please allowmockto accept this value.Recommend that mock also takes a parameter
onSettings: MockitoSettings.() -> Unit = {}which allows callers can optionally use to configure theMockitoSettingsdirectly if such a situation comes up again with another setting that mockito-kotlin does not yet support.