public IEnumerator Entry_Passes()
        {
            var manager = LayoutManagerComponent.Instance;

            var layoutTarget = CreateLayoutTargetComponent("__test");

            manager.Entry(layoutTarget);

            TestLayoutManager.AssertRootsInLayoutManagerGroup(manager.Manager
                                                              , new ILayoutTarget[] {
                layoutTarget.LayoutTarget
            }
                                                              );
            var group = manager.Manager.Groups.First(_g => _g.Root == layoutTarget.LayoutTarget);

            TestLayoutManager.AssertLayoutManagerGroup(group, layoutTarget.LayoutTarget, group.Priority, null, null,
                                                       new ILayoutTarget[] {
                layoutTarget.LayoutTarget
            }
                                                       );


            AssertionUtils.AssertEnumerableByUnordered(
                new LayoutTargetComponent[] {
                layoutTarget
            }
                , manager.Targets
                , ""
                );
            yield return(null);
        }
        public IEnumerator Exit_Passes()
        {
            var manager = LayoutManagerComponent.Instance;

            var layoutTarget = CreateLayoutTargetComponent("__test");

            manager.Entry(layoutTarget);


            manager.Exit(layoutTarget);
            TestLayoutManager.AssertRootsInLayoutManagerGroup(manager.Manager
                                                              , new ILayoutTarget[] {}
                                                              );
            AssertionUtils.AssertEnumerableByUnordered(
                new LayoutTargetComponent[] {
            }
                , manager.Targets
                , ""
                );
            yield return(null);
        }