public void AddFail_ShouldAddToFails() { //Arrange _sut = new ValidationResult(); var info = new ValidationInfoBase(guid); //Act _sut.AddFail(info); //Assert Assert.IsTrue(_sut.Fails.Contains(info)); Assert.IsFalse(_sut.Passes.Contains(info)); }
public void AddFail_ShouldAddToFails() { //Arrange _sut = new ValidationResult(); var info = new ValidationInfoBase(guid); //Act _sut.AddFail(info); //Assert Assert.IsTrue(_sut.Fails.Contains(info)); Assert.IsFalse(_sut.Passes.Contains(info)); }