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
I started using Sailor to implement routing, but I encountered a problem in tests. If Sailor can still be instantiated in Dependenct Injection and using Mockito for check the result of widgets including navigation, but methods for getting arguments are impossible mock. In order not to violate the area of responsibility, I can not move the receipt of arguments.
The simplest solution: in the instance Sailor add the same method args that will reference to the static method.
The text was updated successfully, but these errors were encountered:
Hi @Zerstoren
Can you please provide more details along with code samples (as many as possible) of what you are having trouble with and what you are trying to achieve.
I started using Sailor to implement routing, but I encountered a problem in tests. If Sailor can still be instantiated in Dependenct Injection and using Mockito for check the result of widgets including navigation, but methods for getting arguments are impossible mock. In order not to violate the area of responsibility, I can not move the receipt of arguments.
The simplest solution: in the instance Sailor add the same method args that will reference to the static method.
The text was updated successfully, but these errors were encountered: