verify top-level property
Verify that a method on a mock object was called with the given arguments.
Call a method on a mock object within the call to
verify. For example:
Mockito will fail the current test case if
cat.eatFood has not been called
"fish". Optionally, call
called on the result, to verify that the
method was called a certain number of times. For example:
Note: When mockito verifies a method call, said call is then excluded from
further verifications. A single method call cannot be verified from multiple
verifyInOrder. See more details in the FAQ.
Note: because of an unintended limitation,
not work as expected. Please use
Verification get verify => _makeVerify(false);