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

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

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

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

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

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

            ValidateProbe(probe, StandardRequests, StandardResult);
        }