public void ForEachWalksAllChildren()
        {
            int             children  = 3;
            MockVSHierarchy hierarchy = new MockVSHierarchy(children);
            MockVsSolution  solution  = new MockVsSolution(hierarchy);
            HierarchyNode   node      = new HierarchyNode(solution);
            int             i         = 0;

            node.ForEach(delegate(HierarchyNode child) { i++; });

            Assert.AreEqual(children, i, "Incorrect number of nodes walked");
        }
		public void ForEachWalksAllChildren()
		{
			int children = 3;
			MockVSHierarchy hierarchy = new MockVSHierarchy(children);
			MockVsSolution solution = new MockVsSolution(hierarchy);
			HierarchyNode node = new HierarchyNode(solution);
			int i = 0;
			
			node.ForEach(delegate(HierarchyNode child) { i++; });

			Assert.AreEqual(children, i, "Incorrect number of nodes walked");
		}