public void InsertClass() { ICompilationUnit cu = ParseCSharp(null, "class TopLevelClass {}"); Assert.AreEqual(1, pc.Classes.Count); Assert.AreEqual(1, pc.NamespaceNames.Count); AssertSequenceSame(cu.Classes, pc.Classes); AssertSequenceSame(cu.Classes, pc.GetNamespaceContents("")); }