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

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

        public void FlowGraphs_when_turned_into_flows_should_work_with_a_Source_and_Sink()
        {
            var probe = TestSubscriber.CreateManualProbe<int>(this);

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

            Source1.Via(flow).To(Sink.FromSubscriber(probe)).Run(Materializer);

            ValidateProbe(probe,StandardRequests, StandardResult);
        }