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