public void GivenFixtureWhenSequenceInvalidLowerThanCurrentSequenceThenIsSequenceValidReturnsFalse() { // //Arrange // var fixtureDelta = new Fixture { Sequence = 2 }; int currentSequence = 3; var fixtureValidation = new FixtureValidation(); // //Act // bool isSequenceValid = fixtureValidation.IsSequenceValid( fixtureDelta, currentSequence); // //Assert // Assert.IsFalse(isSequenceValid); }
public void GivenFixtureWhenSequenceValidThenIsSequenceValidReturnsTrue() { // //Arrange // var fixtureDelta = new Fixture { Sequence = 4 }; int currentSequence = 3; var fixtureValidation = new FixtureValidation(); // //Act // bool isSequenceValid = fixtureValidation.IsSequenceValid( fixtureDelta, currentSequence); // //Assert // Assert.IsTrue(isSequenceValid); }