pause method
Pauses incrementing the call count. Call args will not be recorded. The
default value will be used unless pausedValue is provided.
This ignores throw next call and return next call unless respectNextCall
is true.
Implementation
@override
void pause({
T? pausedValue,
bool respectNextCall = false,
}) {
_pause = true;
_pauseRespectsNextCall = respectNextCall;
__pauseValue = pausedValue;
}