public void WhenFalse_ShouldAddClass() { VisualElement listElement = new VisualElement(); ElementInteractions.SetAddSectionVisibility(listElement, false); Assert.IsTrue(listElement.ClassListContains(UxmlClassNames.HideAddSection)); }
public void WhenElementIsNull_ShouldNotThrowError() { ElementInteractions.SetAddSectionVisibility(null, false); }