verifyNever top-level property Null safety

_Verify verifyNever

Verify that a method on a mock object was never called with the given arguments.

Call a method on a mock object within a verifyNever call. For example:

verifyNever(() => cat.eatFood("fish"));

Mocktail will pass the current test case, as cat.eatFood has not been called with "chicken".


_Verify get verifyNever => _makeVerify(true);