public void Remove_Column() { var test = new Columns(); var column = new Column("testing", ColumnTypes.Integer, true, null); test.Add(column); test.Remove(column); Assert.False(test.Items.Any(item => item.Name == "testing")); }
public void Script() { var test = new Columns(); test.Add(new Column("testing", ColumnTypes.Integer, true, null)); Assert.Contains("testing", test.Script()); }
public void Add_Column() { var test = new Columns(); test.Add(new Column("testing", ColumnTypes.Integer, true, null)); Assert.True(test.Items.Any(item => item.Name == "testing")); }