public void UnsupportedRelationalOperatorTest2() { var cond = new ConditionRelationalExpression("true", "true", (ConditionRelationalOperator)(-1)); cond.ToString(); }
public void UnsupportedRelationalOperatorTest2() { var cond = new ConditionRelationalExpression("true", "true", (ConditionRelationalOperator)(-1)); Assert.Throws<NotSupportedException>(() => cond.ToString()); }
public void UnsupportedRelationalOperatorTest() { var cond = new ConditionRelationalExpression("true", "true", (ConditionRelationalOperator)(-1)); cond.Evaluate(LogEventInfo.CreateNullEvent()); }
public void UnsupportedRelationalOperatorTest() { var cond = new ConditionRelationalExpression("true", "true", (ConditionRelationalOperator)(-1)); Assert.Throws<ConditionEvaluationException>(() => cond.Evaluate(LogEventInfo.CreateNullEvent())); }