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
AutoMockable unfortunately doesn't work with actors without some changes.
On protocols, the nominal type on the mock needs to change from "class" to "actor" in case Actor is an inherited type.
There must also be setter functions for each of the mock's variables (ThrowableError, ReturnValue, CallsCount, etc) as they can't be mutated from outside the actor.
The text was updated successfully, but these errors were encountered:
AutoMockable unfortunately doesn't work with actors without some changes.
On protocols, the nominal type on the mock needs to change from "class" to "actor" in case Actor is an inherited type.
There must also be setter functions for each of the mock's variables (ThrowableError, ReturnValue, CallsCount, etc) as they can't be mutated from outside the actor.
The text was updated successfully, but these errors were encountered: