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
Invalid @GenerateMocks annotation: Mockito cannot generate a valid mock class which implements 'Foo' for the following reasons:
The method 'Foo.foo' features a non-nullable unknown return type, and cannot be stubbed without a dummy generator specified on the MockSpec.
Call stack:
Problem is that neither hasFallbackGenerator nor isParameter passed to the second _checkFunction call.
As stubbing generic function with Map<> or T Function() should work(at least I hope so according to the current implementation), it is ambiguous their composition causes any trouble
The text was updated successfully, but these errors were encountered:
Code:
Error:
Call stack:
Problem is that neither
hasFallbackGenerator
norisParameter
passed to the second_checkFunction
call.As stubbing generic function with
Map<>
orT Function()
should work(at least I hope so according to the current implementation), it is ambiguous their composition causes any troubleThe text was updated successfully, but these errors were encountered: