public void TestNoPatterns() { using (var e = new MockA11yElement()) { var test = new PatternCondition(PatternIDs.Toggle); Assert.IsFalse(test.Matches(e)); } // using }
public void TestNonMatchingPatternIDs() { using (var e = new MockA11yElement()) { e.Patterns.Add(new A11yPattern(e, PatternIDs.Invoke)); var test = new PatternCondition(PatternIDs.ExpandCollapse); Assert.IsFalse(test.Matches(e)); } // using }