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

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

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

            var flow1 =
                Flow.FromGraph(GraphDsl.Create(PartialGraph(),
                    (b, partial) => new FlowShape<int, string>(partial.Inlet, partial.Outlet)));

            var flow2 =
                Flow.FromGraph(GraphDsl.Create(Flow.Create<string>().Select(int.Parse),
                    (b, importFlow) => new FlowShape<string, int>(importFlow.Inlet, importFlow.Outlet)));

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

            ValidateProbe(probe, StandardRequests, StandardResult);
        }