public void GetComponentInHierarchyTest_ComponentInParet_IncludeInactive_SetActive() { GetComponentInHierarchyTester tester = Setup(incluneInactive: true, componentInParent: true, setActive: true); TestComponent result = tester.Run(); Assert.NotNull(result); }
public void GetComponentInHierarchyTest_ComponentInParet_DontIncludeInactive_SetInactive() { GetComponentInHierarchyTester tester = Setup(false, true, false); TestComponent result = tester.Run(); Assert.IsNull(result); }
public void GetComponentInHierarchyTest_ComponentInChild_IncludeInactive_SetInactive() { GetComponentInHierarchyTester tester = Setup(true, false, false); TestComponent result = tester.Run(); Assert.NotNull(result); }