Akka.Streams.Tests.Dsl.FlowSumSpec.A_Sum_must_work_when_using_Source_Sum_and_Flow_Sum_and_Sink_Sum C# (CSharp) Method

A_Sum_must_work_when_using_Source_Sum_and_Flow_Sum_and_Sink_Sum() private method

        public void A_Sum_must_work_when_using_Source_Sum_and_Flow_Sum_and_Sink_Sum()
        {
            this.AssertAllStagesStopped(() =>
            {
                var t = SumSource.Via(SumFlow).RunWith(SumSink, Materializer);
                t.Wait(TimeSpan.FromSeconds(3)).Should().BeTrue();
                t.Result.Should().Be(Expected);

            }, Materializer);
        }