Ejemplo n.º 1
0
 public static IReturnsThrows <TMock, TResult> InSequence <TMock, TResult>(this ISetup <TMock, TResult> setup, SetupSequence sequence)
     where TMock : class
 {
     return(setup.Callback(sequence.GetCallback(setup.ToString())));
 }
Ejemplo n.º 2
0
 public static ICallbackResult InSequence <TMock>(this ISetup <TMock> setup, SetupSequence sequence)
     where TMock : class
 {
     return(setup.Callback(sequence.GetCallback(setup.ToString())));
 }