/*============================================================================*/
        /* Private Functions                                                          */
        /*============================================================================*/

        private List <TreeContainerSupport> CreateTrees(uint tree_depth, uint tree_width)
        {
            List <TreeContainerSupport> trees = new List <TreeContainerSupport>();

            for (uint i = 0; i < tree_width; i++)
            {
                TreeContainerSupport nextTree = new TreeContainerSupport(tree_depth, tree_width);
                trees.Add(nextTree);
            }
            return(trees);
        }
        public void finds_correct_nearest_interested_container_view_and_returns_its_binding()
        {
            List <TreeContainerSupport> searchTrees = CreateTrees(5, 4);

            registry.AddContainer(searchTrees[0]);
            registry.AddContainer(searchTrees[1]);

            TreeContainerSupport correctTree = searchTrees[1];

            SupportContainer searchItem = correctTree.children[3].children[3].children[3].children[3];

            ContainerBinding result = registry.FindParentBinding(searchItem);

            Assert.That(correctTree, Is.EqualTo(result.Container), "Finds correct nearest interested container view and returns its binding");
        }
		/*============================================================================*/
		/* Private Functions                                                          */
		/*============================================================================*/

		private List<TreeContainerSupport> CreateTrees(uint tree_depth, uint tree_width)
		{
			List<TreeContainerSupport> trees = new List<TreeContainerSupport>();
			for (uint i = 0; i < tree_width; i++)
			{
				TreeContainerSupport nextTree = new TreeContainerSupport(tree_depth, tree_width);
				trees.Add(nextTree);
			}
			return trees;
		}