Closed AhmedEzio47 closed 1 year ago
Hi @AhmedEzio47 👋 Thanks for opening an issue!
Can you please provide a link to a minimal reproduction sample? It would be much easier to help if I can run the reproduction sample locally. Thanks!
Closing for now since there is no link to a minimal reproduction sample. Feel free to provide one and I'm happy to take a closer look 👍
Hi, The following error gets thrown and thenAnswer part never gets called: type 'Null' is not a subtype of type 'Future<Either<Failure, UnblockingEntity>>'
That's how I mock my use cases:
That's how I stub their methods:
This is my test:
This is the first use case:
This is the second use case
I've also tried the solutions from other similar issues but with no luck. @felangel , please have a look at this.