whenInvokeThrows method
Implementation
void whenInvokeThrows(String methodName, RealtimeFailure failure) {
_mockErrors[methodName] = failure;
}
void whenInvokeThrows(String methodName, RealtimeFailure failure) {
_mockErrors[methodName] = failure;
}