Ejemplo n.º 1
0
        private static void AssertNodeDependents(PipelineGraph graph, IPipelineStage stage, params IPipelineStage[] expected)
        {
            var node = graph.GetNode(stage);

            CollectionAssert.AreEquivalent(expected, node.DependentNodes.Select(n => n.Stage));
        }