Akka.Tests.Actor.ReceiveTimeoutSpec.An_actor_with_receive_timeout_must_not_receive_timeout_message_when_not_specified C# (CSharp) Метод

An_actor_with_receive_timeout_must_not_receive_timeout_message_when_not_specified() приватный Метод

        public void An_actor_with_receive_timeout_must_not_receive_timeout_message_when_not_specified()
        {
            var timeoutLatch = new TestLatch();
            var timeoutActor = Sys.ActorOf(Props.Create(() => new NoTimeoutActor(timeoutLatch)));

            Intercept<TimeoutException>(() => timeoutLatch.Ready(TestKitSettings.DefaultTimeout));
            Sys.Stop(timeoutActor);
        }