public GivenStep(GivenHandler executor) { executor.NotNull(nameof(executor)); _executor = executor; }
private void Given(GivenHandler givenStep) { givenStep.NotNull(nameof(givenStep)); _givenSteps.Add(new GivenStep(givenStep)); }