예제 #1
0
 public void UpdateCommand_ShouldHave_ValidationErrors(string nameValue)
 {
     _updateCommandValidator.ShouldHaveValidationErrorFor(x => x.Name, nameValue);
 }
예제 #2
0
 public void UpdateCommand_ShouldHave_ValidationErrors(double widthValue, double heightValue)
 {
     _updateCommandValidator.ShouldHaveValidationErrorFor(x => x.Width, widthValue);
     _updateCommandValidator.ShouldHaveValidationErrorFor(x => x.Height, heightValue);
 }