Is there any demand for adding a Never repeatability to allow you to write expectations like this:
s.myMock.On("MyMethod").Never()
My use-case if for testing that code does not get executed when returning early from a function (ie: when error handling) - however I am happy to accept this is unnecessary / leads to brittle tests if others feel so inclined.
Is there any demand for adding a
Neverrepeatability to allow you to write expectations like this:My use-case if for testing that code does not get executed when returning early from a function (ie: when error handling) - however I am happy to accept this is unnecessary / leads to brittle tests if others feel so inclined.