public void IsDialog_NotSet_False() { using (var e = new MockA11yElement()) { Assert.IsFalse(IsDialog.Matches(e)); } // using }
public void IsDialog_False() { using (var e = new MockA11yElement()) { var a11yProperty = new A11yProperty(PropertyType.UIA_IsDialogPropertyId, false); e.Properties.Add(PropertyType.UIA_IsDialogPropertyId, a11yProperty); Assert.IsFalse(IsDialog.Matches(e)); } // using }