コード例 #1
0
        public void ReturnsRootComponent(bool displaySubComponents)
        {
            var component = new TestComponent("path", displaySubComponents);

            AssertDeepestVisibleAncestor(component, component, component);
        }
コード例 #2
0
        public void ReturnsSubComponentIfPathHasNoParts(bool displaySubComponents)
        {
            var component = new TestComponent("", displaySubComponents);

            AssertDeepestVisibleAncestor(component, component, component);
        }