midje 2022-08-11

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

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

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