IncorrectCallCountException class
Thrown when a test expects expectedCalls
call(s) to have been made
but the actual number of calls is actualCalls
,
which differs from expectedCalls
.
- Implemented types
Constructors
- IncorrectCallCountException(dynamic expectedCalls, dynamic actualCalls)
-
const
Properties
- actualCalls → dynamic
-
The actual number of calls made to the mock.
final
- expectedCalls → dynamic
-
The number of call expected to have been made to the mock.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited