コード例 #1
0
        public static IArrange <T> Given <T0, T1, T2, T3, T4>(Action <T, T0, T1, T2, T3, T4> givenAction, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
        {
            var journey = new TestJourney <T>(new T());

            journey.Given(givenAction, arg0, arg1, arg2, arg3, arg4);

            return(journey);
        }
コード例 #2
0
        public static IArrange <T> Given(Action <T> givenAction)
        {
            var journey = new TestJourney <T>(new T());

            journey.Given(givenAction);

            return(journey);
        }
コード例 #3
0
        public static IArrange <T> Given <T0, T1>(Action <T, T0, T1> givenAction, T0 arg0, T1 arg1)
        {
            var journey = new TestJourney <T>(new T());

            journey.Given(givenAction, arg0, arg1);

            return(journey);
        }