Closed InAnadea closed 3 weeks ago
Any updates ?
I'm also facing this error
I'm facing this error as well, any updates?
Hi @InAnadea 👋 Can you please share a link to a minimal reproduction sample? It's hard to help without being able to reproduce the issue locally, thanks!
Closing for now since this issue is quite old and there isn't a minimal reproduction sample. If this is still a problem please file a new issue with a link to a reproduction sample, thanks!
Bug description I'm trying to mock the use case for the bloc. But I got the error:
Bad state: No method stub was called from within
when(). Was a real method called, or perhaps an extension method?
Steps to reproduce the behavior:
The source code of classes:
And I get an error:
Expected behavior The "when" function should mock methods.
Logs