for void methods you can also do this beautiful th...
# mockk
p
for void methods you can also do this beautiful thing:
Copy code
every { myMock.someVoidMethod(any()) } just runs
and you can easily capture args if you need to generate complicated answers like so:
Copy code
every { myMock.modifyString(any()) } answers { "${firstArg<String>()}_modified" }