public void Apply_BadValue_ReturnsNull() { filter.Method = "equals"; filter.Values = new[] { "Test" }; Assert.Null(filter.Apply(booleanExpression.Body)); }
public void Apply_OnInvalidBooleanValueReturnsNull() { Expression <Func <GridModel, Boolean> > expression = (model) => model.IsChecked; filter.Value = "Test"; Assert.Null(filter.Apply(expression.Body)); }