public void ReturnsRootComponent(bool displaySubComponents) { var component = new TestComponent("path", displaySubComponents); AssertDeepestVisibleAncestor(component, component, component); }
public void ReturnsSubComponentIfPathHasNoParts(bool displaySubComponents) { var component = new TestComponent("", displaySubComponents); AssertDeepestVisibleAncestor(component, component, component); }