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>()]
?
o
oleksiyp
11/01/2018, 12:05 PM
it is hard to tell in this case, as many questions appear. methodWhichSouldBePrivate is it extension method? or why you say it is private, but you can call it? write minimal gist to reproduce and then it will be clear what is your problem
j
jobot0
11/02/2018, 9:01 AM
First thanks 🙂 I’m writing the gist but for the quick answer