verifyZeroInteractions function

void verifyZeroInteractions(
  1. dynamic mock
)

Implementation

void verifyZeroInteractions(var mock) {
  if (mock is Mock) {
    if (mock._realCalls.isNotEmpty) {
      fail('No interaction expected, but following found: '
          '${mock._realCalls.join()}');
    }
  } else {
    _throwMockArgumentError('verifyZeroInteractions', mock);
  }
}