Exemple #1
0
 /// <summary>
 /// Invoke the given invoker
 /// </summary>
 /// <returns>the next step</returns>
 public GivenStep Given(IInvokable invokable)
 {
     return(Givens.Given(Scenario, invokable));
 }
Exemple #2
0
 /// <summary>
 /// Invoke an inserter
 /// </summary>
 /// <returns>the next step</returns>
 public GivenStep Given(IInserter inserter)
 {
     return(Givens.Given(this, inserter));
 }
Exemple #3
0
 /// <summary>
 /// Pass in an instance which can be passed to the nest step.
 /// </summary>
 /// <param name="instance">the instance to pass back</param>
 /// <returns>a step containing the passed in instance</returns>
 public GivenStep Given(Object instance)
 {
     return(Givens.Given(Scenario, instance));
 }
Exemple #4
0
 /// <summary>
 /// Invoke an action
 /// </summary>
 /// <returns>the next step</returns>
 public GivenStep Given(Action givenAction)
 {
     return(Givens.Given(Scenario, givenAction));
 }
Exemple #5
0
 /// <summary>
 /// Invoke an updater
 /// </summary>
 /// <returns>the next step</returns>
 public GivenStep Given(IUpdater updater)
 {
     return(Givens.Given(Scenario, updater));
 }
Exemple #6
0
 /// <summary>
 /// Invoke the given action passing in the current scenario
 /// </summary>
 /// <param name="scenarioExtensionAction"></param>
 /// <returns></returns>
 public GivenStep Given(Action <Scenario> scenarioExtensionAction)
 {
     return(Givens.Given(Scenario, scenarioExtensionAction));
 }
Exemple #7
0
 /// <summary>
 /// Invoke an inserter
 /// </summary>
 /// <returns>the next step</returns>
 public GivenStep Given(IInserter inserter)
 {
     return(Givens.Given(Scenario, inserter));
 }
Exemple #8
0
 /// <summary>
 /// Invoke an action
 /// </summary>
 /// <returns>the next step</returns>
 public GivenStep Given(Action action)
 {
     return(Givens.Given(this, action));
 }
Exemple #9
0
 /// <summary>
 /// Pass in an instance which is dependency injected
 /// </summary>
 /// <param name="instance">the instance to pass back</param>
 /// <returns>the next step</returns>
 public GivenStep Given(Object instance)
 {
     return(Givens.Given(this, instance));
 }
Exemple #10
0
 /// <summary>
 /// Invoke the given invoker
 /// </summary>
 /// <returns>the next step</returns>
 public GivenStep Given(IInvokable invokable)
 {
     return(Givens.Given(this, invokable));
 }
Exemple #11
0
 /// <summary>
 /// Invoke an updater
 /// </summary>
 /// <returns>the next step</returns>
 public GivenStep Given(IUpdater updater)
 {
     return(Givens.Given(this, updater));
 }