Expectation<T> class
A captured method or property accessor -> a function that returns a value.
Constructors
-
Expectation(Matcher call, Answer<
T> response) -
A captured method or property accessor -> a function that returns a value.
const
-
Expectation.allInvocations(Answer<
T> response) -
A captured method or property accessor -> a function that returns a value.
const
Properties
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