Akka.Streams.Tests.Dsl.ReverseArrowSpec.Reverse_Arrows_in_the_GraphDsl_must_work_across_a_Flow C# (CSharp) Метод

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

private Reverse_Arrows_in_the_GraphDsl_must_work_across_a_Flow ( ) : void
Результат void
        public void Reverse_Arrows_in_the_GraphDsl_must_work_across_a_Flow()
        {
            var task = RunnableGraph.FromGraph(GraphDsl.Create(Sink, (b, s) =>
            {
                b.To(s).Via(Flow.Create<int>().MapMaterializedValue(_ => MaterializedValue)).From(Source);
                return ClosedShape.Instance;
            })).Run(Materializer);
            task.Wait(TimeSpan.FromSeconds(1)).Should().BeTrue();
            task.Result.ShouldAllBeEquivalentTo(new[] { 1, 2, 3 });
        }