0

How can I mock Class<Out T> ? I get therer error : Mockito match any class argument when I try to mock and use it in a

whenever(mockClass.method(mockClass)).thenReturns(...)

any(Class::class) or any(Class::class.java) didn't help either.

BestPractice2Go
  • 285
  • 4
  • 16

0 Answers0