public void PersistentActor_with_Timer_must_not_discard_timer_msg_due_to_stashing() { var pa = ActorOf(TestPersistentActor.TestProps("p1")); pa.Tell("msg1"); ExpectMsg <string>("msg1"); }
public void PersistentActor_with_Timer_must_handle_AutoReceivedMessages_automatically() { var pa = ActorOf(TestPersistentActor.TestProps("p3")); Watch(pa); pa.Tell(new AutoReceivedMessageWrapper(PoisonPill.Instance)); ExpectTerminated(pa); }