public void Test_AnyFilterFilter_Returns_true2() { var filter = new AnyFilter(new DelegateFilter(x => true), new DelegateFilter(x => true), new DelegateFilter(x => true)); var article = new Article(); Assert.IsTrue(filter.Matches(article)); }
public void Test_AnyFilterFilter_Returns_False_If_Any_returns_false() { var filter = new AnyFilter(new DelegateFilter(x => false), new DelegateFilter(x => false), new DelegateFilter(x => false)); var article = new Article(); Assert.IsFalse(filter.Matches(article)); }