public void ExistingProperty() { var evaluator = new HasNoPropertyEvaluator("EventId"); Assert.False(evaluator.Evaluate(FilteringTestData.ManyPropertiesEvent)); }
public void MissingProperty() { var evaluator = new HasNoPropertyEvaluator("InvalidPropertyName"); Assert.True(evaluator.Evaluate(FilteringTestData.ManyPropertiesEvent)); }