public void Enumeration() { Enumeration inter = new Enumeration(controller); inter.Name = "File"; inter.Modifiers.Add("public"); inter.Members.Add(new Enumeration.EnumMember(controller, "Read")); inter.Members.Add(new Enumeration.EnumMember(controller, "Write")); Assert.That(inter.IsTheSame(inter.Clone(), ComparisonDepth.Outer), Is.True); Assert.That(inter.Clone().WalkChildren(), Has.Count(0)); }