public void ShouldResetStepCountForNewScenario() { var sut = new SequentialKeyGenerator(); sut.GetStepId(); sut.GetScenarioId(); Assert.That(sut.GetStepId(), Is.EqualTo("step-2-1")); }
public void ShouldResetStepCountForNewScenario() { var sut = new SequentialKeyGenerator(); sut.GetStepId(); sut.GetScenarioId(); sut.GetStepId().ShouldBe("step-2-1"); }
public void ShouldIncrementScenarioIdForEachRequestForScenariId() { var sut = new SequentialKeyGenerator(); for (int i = 1; i <= 12; i++) { Assert.That(sut.GetScenarioId(), Is.EqualTo("scenario-" + i)); } }
public void ShouldIncrementScenarioIdForEachRequestForScenariId() { var sut = new SequentialKeyGenerator(); for (int i = 1; i <= 12; i++) { sut.GetScenarioId().ShouldBe("scenario-" + i); } }