Akka.Streams.Tests.Dsl.ReverseArrowSpec.Reverse_Arrows_in_the_GraphDsl_must_work_towards_UniformFanInShape C# (CSharp) Method

Reverse_Arrows_in_the_GraphDsl_must_work_towards_UniformFanInShape() private method

        public void Reverse_Arrows_in_the_GraphDsl_must_work_towards_UniformFanInShape()
        {
            var task = RunnableGraph.FromGraph(GraphDsl.Create(Sink, (b, s) =>
            {
                var f = b.Add(new Merge<int, int>(2));
                b.To(s).From(f);
                b.From(Streams.Dsl.Source.Empty<int>().MapMaterializedValue(_ => MaterializedValue)).To(f);
                b.From(Source).To(f);
                return ClosedShape.Instance;
            })).Run(Materializer);
            task.Wait(TimeSpan.FromSeconds(1)).Should().BeTrue();
            task.Result.ShouldAllBeEquivalentTo(new[] { 1, 2, 3 });
        }