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