Example #1
0
        protected GivenOptions GivenAsync <T1, T2, T3>(Func <T1, T2, T3, Task> action, T1 a, T2 b, T3 c)
        {
            var given = new GivenOptions(this);

            given.AndAsync(action, a, b, c);
            return(given);
        }
Example #2
0
        protected GivenOptions Given <TStep>(params object[] parameterValues) where TStep : Step
        {
            var given = new GivenOptions(this);

            given.And <TStep>(parameterValues);
            return(given);
        }
Example #3
0
        protected GivenOptions Given <T1, T2, T3>(Action <T1, T2, T3> action, T1 a, T2 b, T3 c)
        {
            var given = new GivenOptions(this);

            given.And(action, a, b, c);
            return(given);
        }
Example #4
0
        protected GivenOptions Given <T1, T2>(Action <T1, T2> action, T1 a, T2 b)
        {
            var given = new GivenOptions(this);

            given.And(action, a, b);
            return(given);
        }
Example #5
0
        protected GivenOptions GivenAsync <T>(Func <T, Task> action, T a)
        {
            var given = new GivenOptions(this);

            given.AndAsync(action, a);
            return(given);
        }
Example #6
0
        protected GivenOptions Given <T>(Action <T> action, T a)
        {
            var given = new GivenOptions(this);

            given.And(action, a);
            return(given);
        }
Example #7
0
        protected GivenOptions Given(Action action)
        {
            var given = new GivenOptions(this);

            given.And(action);
            return(given);
        }