Akka.Streams.Tests.Dsl.FlowForeachSpec.A_Foreach_must_yield_the_first_error C# (CSharp) Метод

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

private A_Foreach_must_yield_the_first_error ( ) : void
Результат void
        public void A_Foreach_must_yield_the_first_error()
        {
            this.AssertAllStagesStopped(() =>
            {
                var p = TestPublisher.CreateManualProbe<int>(this);
                Source.FromPublisher(p).RunForeach(i => TestActor.Tell(i), Materializer).ContinueWith(task =>
                {
                    if (task.Exception != null)
                        TestActor.Tell(task.Exception.InnerException);
                });
                var proc = p.ExpectSubscription();
                var ex = new TestException("ex");
                proc.SendError(ex);
                ExpectMsg(ex);
            }, Materializer);
        }