MockK – Stubbed method persists even after class mock was cleared
I am trying to stub a class method twice to test both happy and error path, but for some reason MockK is unable to clear stubbed methods per test.
I am trying to stub a class method twice to test both happy and error path, but for some reason MockK is unable to clear stubbed methods per test.