What am I doing wrong in this code to mock an Inst...
# mockk
h
What am I doing wrong in this code to mock an Instant? Or is there a better way to achieve stubbing the time?
Copy code
mockkStatic(Instant::class)
every { Instant.now() } returns Instant.parse("2014-12-03T10:15:30.00Z")

io.mockk.MockKException: Bad recording sequence. Please finalize every { ... } block with returns/answers/just Runs