public void ShouldDetectSecondValidField() { IValidColumns sut = new ValidColumns(new[] { "A_Correct_Column" }); Assert.True(sut.IsInvalidColumn("A_Good_Column")); }
public void ShouldDetectAnyFieldIsValid() { IValidColumns sut = new ValidColumns(new[] { "A_Correct_Column", "A_Great_Column" }); Assert.False(sut.IsInvalidColumn("A_Great_Column")); }
public void ShouldDetectValidField() { IValidColumns sut = new ValidColumns(new[] { "A_Good_Column" }); Assert.False(sut.IsInvalidColumn("A_Good_Column")); }