Akka.Streams.Tests.Dsl.HeadSinkSpec.A_FLow_with_a_Sink_Head_must_yield_the_first_error C# (CSharp) Метод

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

private A_FLow_with_a_Sink_Head_must_yield_the_first_error ( ) : void
Результат void
        public void A_FLow_with_a_Sink_Head_must_yield_the_first_error()
        {
            this.AssertAllStagesStopped(() =>
            {
                Source.Failed<int>(new SystemException("ex"))
                    .Invoking(s => s.RunWith(Sink.First<int>(), Materializer).Wait(TimeSpan.FromSeconds(1)))
                    .ShouldThrow<AggregateException>()
                    .WithInnerException<SystemException>()
                    .WithInnerMessage("ex");
            }, Materializer);
        }