Aaronontheweb on dev
TypeExtensions.TypeQualifiedNam… (compare)
_actor.Tell(new GameActor.NewGameMessage(new List<PlayerData>() { _userData1, _userData2 }));
_userActorProbe1.IgnoreMessages(m=> m is UserActor.WelcomeToGameMessage);
_userActorProbe2.IgnoreMessages(m => m is UserActor.WelcomeToGameMessage);
_userActorProbe1.ExpectMsg<UserActor.GameInitializedMessage>();
_userActorProbe2.ExpectMsg<UserActor.GameInitializedMessage>();
@rsinohara think about this a little differently. Become essentially builds a state machine. C# await also builds a state machine:
DoSomething();
await DoSomethingAsync(); // in this continuation the behavior switches
DoSomethingElse();
How do you want to check if DoSomethingElse()
has been called without calling first two methods before?