public void DataTableCollection_Add_D4() { var ds = new DataSet(); ds.Tables.Add(); DataTable dt = new DataTable("Table1"); Assert.Throws<DuplicateNameException>(() => ds.Tables.Add(dt)); }