https://kotlinlang.org logo
w

wst

12/04/2016, 3:11 PM
I solved it with
Mockito.verify(mockTaskProcessor).start(argumentCaptor.capture() ?: Job())
but maybe there is a better way.