Akka.Streams.Tests.Implementation.TimeoutsSpec.IdleTimeout_must_pass_through_error_unmodified C# (CSharp) Метод

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

private IdleTimeout_must_pass_through_error_unmodified ( ) : void
Результат void
        public void IdleTimeout_must_pass_through_error_unmodified()
        {
            this.AssertAllStagesStopped(() =>
            {
                var task = Source.From(Enumerable.Range(1, 100))
                    .Concat(Source.Failed<int>(new TestException("test")))
                    .IdleTimeout(TimeSpan.FromSeconds(2)).Grouped(200)
                    .RunWith(Sink.First<IEnumerable<int>>(), Materializer);

                task.Invoking(t => t.Wait(TimeSpan.FromSeconds(3)))
                    .ShouldThrow<TestException>().WithMessage("test");
            }, Materializer);
        }