예제 #1
0
 /// <summary>
 /// Invoke the given invoker
 /// </summary>
 /// <returns>the next step</returns>
 public GivenStep Given(IInvokable invokable)
 {
     return(Givens.Given(Scenario, invokable));
 }
예제 #2
0
 /// <summary>
 /// Invoke an inserter
 /// </summary>
 /// <returns>the next step</returns>
 public GivenStep Given(IInserter inserter)
 {
     return(Givens.Given(this, inserter));
 }
예제 #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));
 }
예제 #4
0
 /// <summary>
 /// Invoke an action
 /// </summary>
 /// <returns>the next step</returns>
 public GivenStep Given(Action givenAction)
 {
     return(Givens.Given(Scenario, givenAction));
 }
예제 #5
0
 /// <summary>
 /// Invoke an updater
 /// </summary>
 /// <returns>the next step</returns>
 public GivenStep Given(IUpdater updater)
 {
     return(Givens.Given(Scenario, updater));
 }
예제 #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));
 }
예제 #7
0
 /// <summary>
 /// Invoke an inserter
 /// </summary>
 /// <returns>the next step</returns>
 public GivenStep Given(IInserter inserter)
 {
     return(Givens.Given(Scenario, inserter));
 }
예제 #8
0
 /// <summary>
 /// Invoke an action
 /// </summary>
 /// <returns>the next step</returns>
 public GivenStep Given(Action action)
 {
     return(Givens.Given(this, action));
 }
예제 #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));
 }
예제 #10
0
 /// <summary>
 /// Invoke the given invoker
 /// </summary>
 /// <returns>the next step</returns>
 public GivenStep Given(IInvokable invokable)
 {
     return(Givens.Given(this, invokable));
 }
예제 #11
0
 /// <summary>
 /// Invoke an updater
 /// </summary>
 /// <returns>the next step</returns>
 public GivenStep Given(IUpdater updater)
 {
     return(Givens.Given(this, updater));
 }