``` @Test fun test() { val spy = s...
# mockk
d
Copy code
@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
        }
    }