Closed hkuczynski closed 2 years ago
Hi @hkuczynski 👋 Thanks for opening an issue!
I'm unable to reproduce the problem using Dart 2.16.1 (stable) and mocktail 0.3.0-dev.1
. Are you using mocktail 0.1.0-dev.1?
I was using 0.2.0. I've just tested on 0.3.0 and it works fine. Thanks for your help!
Describe the bug When I mock a generic method that is expected to return an object of a class with a generic type, subsequent calls to when ... thenReturn overwrite the previous ones.
To Reproduce Run this test:
Expected behavior
Screenshots
Logs Paste the output of running
flutter doctor -v
here.