public void A_Graph_should_build_with_plain_flow_without_junctions() { RunnableGraph.FromGraph(GraphDsl.Create(b => { b.From(In1).Via(F1).To(Out1); return(ClosedShape.Instance); })).Run(Materializer); RunnableGraph.FromGraph(GraphDsl.Create(b => { b.From(In1).Via(F1).Via(F2).To(Out1); return(ClosedShape.Instance); })).Run(Materializer); RunnableGraph.FromGraph(GraphDsl.Create(b => { b.From(In1.Via(F1)).Via(F2).To(Out1); return(ClosedShape.Instance); })).Run(Materializer); RunnableGraph.FromGraph(GraphDsl.Create(b => { b.From(In1).To(Out1); return(ClosedShape.Instance); })).Run(Materializer); RunnableGraph.FromGraph(GraphDsl.Create(b => { b.From(In1).To(F1.To(Out1)); return(ClosedShape.Instance); })).Run(Materializer); RunnableGraph.FromGraph(GraphDsl.Create(b => { b.From(In1.Via(F1)).To(Out1); return(ClosedShape.Instance); })).Run(Materializer); RunnableGraph.FromGraph(GraphDsl.Create(b => { b.From(In1.Via(F1)).To(F2.To(Out1)); return(ClosedShape.Instance); })).Run(Materializer); }