public void NotHaveErrorIfIdIsNotNull() { validator.ShouldNotHaveValidationErrorFor(x => x.Id, 1000); }
public void when_id_is_greater_than_0__should_not_have_error() => _validator.ShouldNotHaveValidationErrorFor(x => x.Id, 1);
public void NotHaveErrorIfIdIsNotNull() { validator.ShouldNotHaveValidationErrorFor(x => x.Id, 1000); }
public void when_id_is_greater_than_0__should_not_have_error() => _validator.ShouldNotHaveValidationErrorFor(x => x.Id, 1);