public void ElementNodeCloneTest() { tlog.Debug(tag, $"ElementNodeCloneTest START"); try { var node = new ElementNode(null, "1", null, 1, 1); node.Properties.Add(new XmlName("1", "View"), new ElementNode(null, "1", null, 1, 1)); node.SkipProperties.Add(new XmlName("1", "View")); node.CollectionItems.Add(new ElementNode(null, "1", null, 1, 1)); var ret = node.Clone(); Assert.IsNotNull(ret, "Should not be equal"); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } tlog.Debug(tag, $"ElementNodeCloneTest END"); }