Akka.Streams.Tests.Dsl.GraphBackedFlowSpec.FlowGraphs_when_turned_into_sources_should_work_with_a_Sink C# (CSharp) Метод

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

private FlowGraphs_when_turned_into_sources_should_work_with_a_Sink ( ) : void
Результат void
        public void FlowGraphs_when_turned_into_sources_should_work_with_a_Sink()
        {
            var probe = TestSubscriber.CreateManualProbe<int>(this);

            var source = Source.FromGraph(GraphDsl.Create(PartialGraph(), (b, partial) =>
            {
                b.From(Source1).To(partial.Inlet);
                var o = b.From(partial.Outlet).Via(Flow.Create<string>().Select(int.Parse));
                return new SourceShape<int>(o.Out);
            }));

            source.To(Sink.FromSubscriber(probe)).Run(Materializer);

            ValidateProbe(probe, StandardRequests, StandardResult);
        }