jobot0
10/31/2018, 1:58 PMcapture(slot)
should work here.
val obj = ExtendedObjBecauseImTestingOnAndroidUnderP(someStuff, someOtherStuff)
val objSpy = spyk(obj)
val slot = slot<ParamType>()
every {
obj.methodWhichSouldBePrivate(capture(slot), otherStuff))
} just Runs
Why am I getting this issue left matchers: [slotCapture<ParamType>()]
?oleksiyp
11/01/2018, 12:05 PMjobot0
11/02/2018, 9:01 AMmethodWhichShouldBePrivate
is not an extension function