PostExpectation<T> class
Properties
-
hashCode
→ int
-
The hash code for this object.
read-onlyinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
thenAnswer(Answering<T> answer)
→ void
-
Store a function which is called when this method stub is called.
-
thenReturn(T expected)
→ void
-
Store a canned response for this method stub.
-
thenReturnInOrder(List<T> expects)
→ void
-
Store a sequence of canned responses for this method stub.
-
thenThrow(Object throwable)
→ void
-
Store an exception to throw when this method stub is called.
-
toString()
→ String
-
A string representation of this object.
inherited