verifyCalled

Returns a VerificationBuilder for specifying the expected invocation count.

No assertion runs until a terminal method (VerificationBuilder.atLeast, VerificationBuilder.atMost, VerificationBuilder.exactly, or VerificationBuilder.never) is called. For the common case of "called at least once":


Convenience shortcut — asserts this stub was called exactly times times.

Equivalent to verifyCalled().exactly(times).