Fork me on GitHub
#midje
<
2022-08-11
>
Franklin15:08:40

how can I add a check that ensures a function is never called?

Franklin15:08:11

I thought of mocking the function with another (instrumented one) that throws an error when its' called

Franklin15:08:25

but I wonder if there's an inbuilt way to do it with midje