verifyNever top-level property
Verification
get
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:
cat.eatFood("chicken");
verifyNever(cat.eatFood("fish"));
Mockito will pass the current test case, as cat.eatFood
has not been
called with "chicken"
.
Implementation
Verification get verifyNever => _makeVerify(true);