public void AddingTransitionAndStatesAddsEdge(Flow flow, Transition transition) { flow.AddStatesAndTransition(transition); var graph = flow.ToGraph(); Assert.Equal(1, graph.Edges.Count()); }