public void FilterShouldReturnSourceIfNoFilterFunctionsSpecifiedInFilteringRules() { _filterModel.Age = 3; var emptySut = new QueryFilterService <TestSequence>(new EmptyTestFilterRules()); var result = emptySut.Filter(_sequence, _filterModel, true); Assert.AreEqual(_sequence.Count(), result.Count()); }
public void FilterShouldReturnSourceIfFilterModelIsEmpty() { var result = _sut.Filter(_sequence, _filterModel, true); Assert.AreEqual(_sequence.Count(), result.Count()); }