public void GetNonSafeNameAsEmpty() { IValidColumns sut = new ValidColumns(new [] { "Good_Column" }); var result = sut.GetColumn("Bad_Column"); Assert.Equal(string.Empty, result); }
public void GetSafeName() { IValidColumns sut = new ValidColumns(new [] { "Good_Column" }); var result = sut.GetColumn("Good_Column"); Assert.Equal("Good_Column", result); }