public void WhenOptionFalse_ShouldAddClass() { VisualElement listElement = new VisualElement(); Handler.SetRemoveButtonVisibility(listElement, false); Assert.IsTrue(listElement.ClassListContains(UxmlClassNames.HideRemoveButtons)); }
public void WhenElementIsNull_ShouldFailSilently() { Handler.SetRemoveButtonVisibility(null, false); }