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

Matt Thompson

10/02/2019, 3:12 PM
seems like
relaxedUnitFun
does not work for lambdas? i.e. if I create
val mockLambda = mockk<() -> Unit>(relaxedUnitFun = true)
,
mockLambda()
returns
Object
unless Unit is explicitly stubbed out
2 Views