Dias
10/16/2018, 1:58 PM@Test
fun test() {
val spy = spyk(A)
runBlocking {
spy.testA(true)
}
coVerify(atMost = 1) {
spy.testA(any())
}
}
object A {
suspend fun testA(bool: Boolean): Boolean {
delay(100)
return bool
}
}