public void Test()
        {
            this.target = new NamespaceTestTreePopulator();
            this.dic    = new GuidTestTreeNodeDictionary();

            root = new TestTreeNode("root", TestNodeType.Category);

            AddPipe(typeof(MbUnit.Core.Remoting.Child1.DummyClass));
            AddPipe(typeof(MbUnit.Core.Remoting.Child2.DummyClass));

            Visit(root, "");

            Assert.AreEqual(1, root.Nodes.Count);

            TestTreeNode child = root.Nodes[0];

            Assert.AreEqual("Namespaces", child.Name);
            Assert.AreEqual(1, child.Nodes.Count);

            child = child.Nodes[0];
            Assert.AreEqual(1, child.Nodes.Count);
            Assert.AreEqual("MbUnit", child.Name);

            child = child.Nodes[0];
            Assert.AreEqual(1, child.Nodes.Count);
            Assert.AreEqual("Core", child.Name);

            child = child.Nodes[0];
            Assert.AreEqual("Remoting", child.Name);

            Assert.AreEqual(2, child.Nodes.Count);
            Assert.IsTrue((child.Nodes[0].Name == "Child1" && child.Nodes[1].Name == "Child2") ||
                          (child.Nodes[0].Name == "Child2" && child.Nodes[1].Name == "Child1")
                          );

            Assert.AreEqual(1, child.Nodes[0].Nodes.Count);
            Assert.AreEqual(1, child.Nodes[1].Nodes.Count);
            Assert.AreEqual("DummyClass", child.Nodes[0].Nodes[0].Name);
            Assert.AreEqual("DummyClass", child.Nodes[1].Nodes[0].Name);
        }
        public void Test()
        {
            this.target = new NamespaceTestTreePopulator();
            this.dic = new GuidTestTreeNodeDictionary();

            root = new TestTreeNode("root", TestNodeType.Category);

            AddPipe(typeof(MbUnit.Core.Remoting.Child1.DummyClass));
            AddPipe(typeof(MbUnit.Core.Remoting.Child2.DummyClass));

            Visit(root,"");

            Assert.AreEqual(1, root.Nodes.Count);

            TestTreeNode child = root.Nodes[0];
            Assert.AreEqual("Namespaces", child.Name);
            Assert.AreEqual(1, child.Nodes.Count);

            child = child.Nodes[0];
            Assert.AreEqual(1, child.Nodes.Count);
            Assert.AreEqual("MbUnit", child.Name);

            child = child.Nodes[0];
            Assert.AreEqual(1, child.Nodes.Count);
            Assert.AreEqual("Core", child.Name);

            child = child.Nodes[0];
            Assert.AreEqual("Remoting", child.Name);

            Assert.AreEqual(2, child.Nodes.Count);
            Assert.IsTrue((child.Nodes[0].Name == "Child1" && child.Nodes[1].Name == "Child2")
                || (child.Nodes[0].Name == "Child2" && child.Nodes[1].Name == "Child1")
                );

            Assert.AreEqual(1,child.Nodes[0].Nodes.Count);
            Assert.AreEqual(1,child.Nodes[1].Nodes.Count);
            Assert.AreEqual("DummyClass", child.Nodes[0].Nodes[0].Name);
            Assert.AreEqual("DummyClass", child.Nodes[1].Nodes[0].Name);
        }