IncorrectCallCountException constructor

const IncorrectCallCountException(
  1. int expectedCalls,
  2. int actualCalls
)

Creates a new IncorrectCallCountException describing that expectedCalls call(s) were expected but actualCalls call(s) have actually been made.

Implementation

const IncorrectCallCountException(
  this.expectedCalls,
  this.actualCalls,
);