Here is the test template, that I try to run.
# mockk
a
Here is the test template, that I try to run.
I would like to shunt the behavior of MyDependency.
To do that I expect get the instance of the callback used, and then answer callback.onSuccess
This example simplify a real case, where MyDependency deal with WS call
o
Please ask question or submit issue in GH. Not sure I understood your case.
a
@oleksiyp here is the issue https://github.com/mockk/mockk/issues/230
if the answer is an advice about code architecture (because this is not testable), that also fine for me
o
Right
Thanks, will check it a bit later