public override void CheckAssert( RuleStatement statement )
 {
     Assert.That( statement, Is.TypeOf<TextStatement>() );
     var textStatement = (TextStatement)statement;
     Assert.That( textStatement.Text, Is.EqualTo( this.Text ) );
 }
 public override void CheckAssert( RuleStatement statement )
 {
     Assert.That( statement, Is.TypeOf<ValueStatement>() );
     var valueStatement = (ValueStatement)statement;
     Assert.That( valueStatement.Value.Trim(), Is.EqualTo( this.value.Trim() ) );
 }
 public abstract void CheckAssert( RuleStatement statement );