public void Validate_WhenStringDoesContainANumber_Throws(string value)
 {
     var validator = new DoesNotContainANumber();
     var data = new FileData { StringValue = value };
     Assert.Throws<ArgumentException>(() => validator.Validate(data));
 }
 public void Validate_WhenStringDoesNotContainANumber_Succeeds(string value)
 {
     var validator = new DoesNotContainANumber();
     var data = new FileData { StringValue = value };
     Assert.DoesNotThrow(() => validator.Validate(data));
 }