public void Add_SDB4() { DataTable dt = DataProvider.CreateParentDataTable(); dt.Constraints.Add("UniqueConstraint", dt.Columns["ParentId"], false); //Break the constraint --> but we shouldn't get the excption --> wrong assumpation //TODO:check the right thing DataProvider.TryToBreakUniqueConstraint(); Assert.AreEqual(2, dt.Select("ParentId=1").Length, "CN36"); }