标签: android junit kotlin mockito mockk
如何模拟Class<Out T>?我收到错误消息:当我尝试模拟并在
Class<Out T>
whenever(mockClass.method(mockClass)).thenReturns(...)
any(Class::class)或any(Class::class.java)也无济于事。
any(Class::class)
any(Class::class.java)