public void GivenAnOrder_Validate_ShouldNotHaveAValidationError()
 {
     _mediaValidator.ShouldNotHaveValidationErrorFor(media => media.Order, 1);
 }
示例#2
0
 public void GivenAUrl_Validate_ShouldNotHaveAValidationError()
 {
     _mediaValidator.ShouldNotHaveValidationErrorFor(media => media.Url, "a");
 }