let me shamelessly waste a few more minutes of you...
# mockk
g
let me shamelessly waste a few more minutes of your time A question about capturing. Am I doing it right?
Copy code
val item = slot<Item>()
        every { observer.onChanged(capture(item)) } just Runs
        ...
        assert(item.captured.foo).toBe(expectedFoo)
Compared to mockito:
Copy code
verify(observer).onChanged(argForWhich { foo == expectedFoo })
Is it possible to have it less verbose with Mockk? Somehow in-place, similar to mockito example