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

Dias

10/16/2018, 11:12 AM
@oleksiyp for some reasons authorizationClientSpy.execute() gets called twice when it should be called just once and I know for sure that authorizationClientSpy.post() gets called just once. I have a suspicion that when I setup verification here
Copy code
coVerify(exactly = 1) {
            authorizationClientSpy.execute(any())
        }
that call also counts toward the total count. Can this be true?