Replies: 1 comment 1 reply
-
It shouldn't be too hard: MockK already holds all this information in a CallRecorder object, so implementing a method that exposes it can definitely be done. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to convert some Kotlin code from Mockito to Mockk. Everything works nicely, but I am now stuck at my last problem: I need to report how often a specific mocked method was invoked. The Mockito code basically does
returnedResultSets
is aList<ResultSet>
which contains all theResultSet
mock objects the code created.This then gets called with e.g.
Is there any way to implement this for Mockk?
Beta Was this translation helpful? Give feedback.
All reactions