https://kotlinlang.org logo
#mockk
Title
# mockk
s

Sourabh Rawat

06/01/2021, 4:08 AM
Getting
Copy code
Caused by: io.mockk.MockKException: Failed matching mocking signature for
SignedCall(retValue=java.lang.Object@32bb09d9, isRetValueMock=true, retType=class kotlin.Any, self=UseCase(#25), method=execute(Any, Continuation), args=[kotlin.Unit, Continuation at com.expediagroup.ord.fbs.usecase.UseCaseExecutorTest$2$1.invokeSuspend(UseCaseExecutorTest.kt:47)], invocationStr=UseCase(#25).execute(kotlin.Unit, continuation {}))
left matchers: [any()]
what could be the issue…
m

Mattia Tommasone

06/01/2021, 7:26 AM
can you please post the code of your test?
265 Views