thenAnswer method
Store a function which is called when this method stub is called.
The function will be called, and the return value will be returned.
Implementation
void thenAnswer(Answer<T> answer) {
return _completeWhen(answer);
}
Store a function which is called when this method stub is called.
The function will be called, and the return value will be returned.
void thenAnswer(Answer<T> answer) {
return _completeWhen(answer);
}