midje

Franklin 2022-08-11T15:05:40.915299Z

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

Franklin 2022-08-11T15:06:11.489639Z

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

Franklin 2022-08-11T15:06:25.114149Z

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