https://kotlinlang.org logo
d

dpk

12/15/2016, 9:29 PM
the “solution” may be to use `com.nhaarman.mockito_kotlin`‘s
argumentCaptor
, e.g.
val captor = com.nhaarman.mockito_kotlin.argumentCaptor<ByteArray>(); verify(whatever).method(captor.capture())