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