public void Count_ReturnsNumberOfItems() { var values = new SqlSet(); Assert.Equal(0, values.Count); values.Add(new SqlAssign("Name", "John Doe")); Assert.Equal(1, values.Count); values.Add(new SqlAssign("Email", "*****@*****.**")); Assert.Equal(2, values.Count); }
public void Add_WithNullAssign_ThrowsArgumentNull() { var set = new SqlSet(); Assert.Throws<ArgumentNullException>(() => set.Add(null)); }
public void Add_WithNullAssign_ThrowsArgumentNull() { var set = new SqlSet(); Assert.Throws <ArgumentNullException>(() => set.Add(null)); }