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