Akka.Streams.Tests.Dsl.FlowSplitAfterSpec.SplitAfter_must_support_eager_cancellation_of_master_stream_on_cancelling_substreams C# (CSharp) Method

SplitAfter_must_support_eager_cancellation_of_master_stream_on_cancelling_substreams() private method

        public void SplitAfter_must_support_eager_cancellation_of_master_stream_on_cancelling_substreams()
        {
            this.AssertAllStagesStopped(() =>
            {
                WithSubstreamsSupport(5,8,SubstreamCancelStrategy.Propagate,
                    (masterSubscriber, masterSubscription, expectSubFlow) =>
                    {
                        var s1 = new StreamPuppet(expectSubFlow().RunWith(Sink.AsPublisher<int>(false), Materializer),
                            this);
                        s1.Cancel();
                        masterSubscriber.ExpectComplete();
                    });
            }, Materializer);
        }
    }