public void TestCloneTag() { string tag = "foo:Bar"; CustomTag target = new CustomTag(); Assert.IsTrue(string.IsNullOrEmpty(target.MarkupTag), "Empty tag is not null"); target = new CustomTag(tag); Assert.AreEqual(tag, target.MarkupTag, "Markup tag not taken off constructor"); CustomTag target2 = (CustomTag)target.Clone(); Assert.AreEqual(tag, target2.MarkupTag, "Cloned tag incorrect"); }