I’m trying to assert if a function ran inside a `i...
# test
g
I’m trying to assert if a function ran inside a
if() {} else {}
statement? How I can do that?
g
with mockk or mockito, should be able to mock the function and then use
verify { myFunc() }
u
I dont think you should assert that. Assert state/behavior it produces