public void TestMultipleDepthAdds()
        {
            // Setup
            var collection = new HierarchicalPathTreeCollection<int>();
            var path1 = new HierarchicalPath("/a/b");
            var path2 = new HierarchicalPath("/a/c");

            // Operation
            collection.Add(path1, 234);
            collection.Add(path2, 567);

            // Verification
            Assert.AreEqual(2, collection.Count);
            Assert.AreEqual(4, collection.NodeCount);
            Assert.AreEqual(0, collection.Item);
            Assert.AreEqual(2, collection.GetChild(new HierarchicalPath("/a")).Count);
            Assert.AreEqual(234, collection.Get(path1));
            Assert.AreEqual(567, collection.Get(path2));
        }
        public void TestMultipleDepthAdds()
        {
            // Setup
            var collection = new HierarchicalPathTreeCollection <int>();
            var path1      = new HierarchicalPath("/a/b");
            var path2      = new HierarchicalPath("/a/c");

            // Operation
            collection.Add(path1, 234);
            collection.Add(path2, 567);

            // Verification
            Assert.AreEqual(2, collection.Count);
            Assert.AreEqual(4, collection.NodeCount);
            Assert.AreEqual(0, collection.Item);
            Assert.AreEqual(2, collection.GetChild(new HierarchicalPath("/a")).Count);
            Assert.AreEqual(234, collection.Get(path1));
            Assert.AreEqual(567, collection.Get(path2));
        }