public virtual void testClone() { JDFDoc d = new JDFDoc("JDF"); JDFDoc d2 = (JDFDoc)d.Clone(); KElement e1 = d.getRoot(); KElement e2 = d2.getRoot(); Assert.AreNotEqual(e1, e2); e1.appendElement("foo"); Assert.IsNull(e2.getElement("foo")); }