https://kotlinlang.org logo
#mockk
Title
# mockk
c

Chico

04/14/2022, 4:24 PM
Hello, I have this function
Copy code
fun <T> dummy(arg: Int, argTwo: T) {
  //do something with argTwo
}
I tried to mock with
mockkStatic(::dummy)
but it said not enough information to infer T, so does anyone knows how can I solve it?
p

Pedro Francisco de Sousa Neto

04/14/2022, 5:55 PM
5 Views