コード例 #1
0
        public void add_a_different_input_type_adds_a_second_chain()
        {
            theGraph.Add(concreteCall);
            theGraph.Add(concreteCall2);
            theGraph.Add(concreteCall4);
            theGraph.Add(concreteCall3);

            theGraph.ShouldHaveCount(2);

            theGraph.Select(x => x.InputType())
            .ShouldHaveTheSameElementsAs(typeof(Input), typeof(DifferentInput));
        }