public void RemoveClassAfterDisposingTestsNamespaceNode()
        {
            testsNamespaceNode.Dispose();
            testsNamespaceNode.Remove();

            TestProjectTreeNode projectNode = (TestProjectTreeNode)rootNode;

            // Make sure the tests namespace node child nodes are
            // unaffected when the test class is removed.
            Assert.AreEqual(1, testsNamespaceNode.Nodes.Count);
            projectNode.TestProject.TestClasses.Remove("RootNamespace.Tests.MyTestFixture");
            Assert.AreEqual(1, testsNamespaceNode.Nodes.Count);
        }
        public void DisposeProjectNode()
        {
            rootNode.Dispose();
            rootNode.Remove();

            Assert.IsTrue(rootNode.IsDisposed);
            Assert.IsTrue(testFixtureNode.IsDisposed);
        }