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