public IThenFragment And(string step, Action implementation) { _builder.AddStepAndExecute(ScenarioFragment.Then, step, implementation); return(this); }
public IGivenFragment Given(string step, Action implementation) { _builder.AddStepAndExecute(ScenarioFragment.Given, step, implementation); return(new GivenFragment(_builder)); }