You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NoSuchMethodError: Class 'MockProjectDirectoryPath' has no instance method '_setElement'.
Receiver: Instance of 'MockProjectDirectoryPath'
Tried calling: _setElement(Instance of 'NotifierProviderElement<ProjectDirectoryPath, String?>')
How can I generate the appropriate mock using the code generation of mockito?
This issue is explored here in depth - rrousselGit/riverpod#2373
The text was updated successfully, but these errors were encountered:
On trying to mock a Riverpod StateNotifierProvider of (AutoDispose)FamilyNotifier -
Mockito code generation fails to generate the appropriate mock for it -
Error -
How can I generate the appropriate mock using the code generation of mockito?
This issue is explored here in depth - rrousselGit/riverpod#2373
The text was updated successfully, but these errors were encountered: