public void Filter_Equals_Null() { var model = new PagrModel { Filters = "Text==null" }; var result = _processor.Apply(model, _comments); Assert.Equal(100, result.Single().Id); }
public void ContainsCanBeCaseInsensitive() { var model = new PagrModel { Filters = "Title@=*a" }; var result = _processor.Apply(model, _posts); Assert.Equal(0, result.First().Id); Assert.True(result.Count() == 1); }