thenReturn method
The stub returns response for every matching request.
Implementation
void thenReturn(HttpResponse response) {
_adapter._stubs.add(_build([_Reply.success(response)]));
}
The stub returns response for every matching request.
void thenReturn(HttpResponse response) {
_adapter._stubs.add(_build([_Reply.success(response)]));
}