public void Password_ShouldHaveError_When_Empty()
 {
     _sut.ShouldHaveValidationErrorFor(m => m.Password, string.Empty);
 }
Example #2
0
 public void Should_Error_When_Username_Is_Null()
 {
     validator.ShouldHaveValidationErrorFor(x => x.Username, null as string);
 }