public void Test_clone() { DateFormat format = DateFormat.GetInstance(); DateFormat clone = (DateFormat)format.Clone(); NUnit.Framework.Assert.IsTrue(format.Equals(clone), "Clone not equal"); clone.GetNumberFormat().SetMinimumFractionDigits(123); NUnit.Framework.Assert.IsTrue(!format.Equals(clone), "Clone shares NumberFormat"); }