public void EditedByIdentifierEmpty() { var data = this.Company(); data.EditedByIdentifier = Guid.Empty; var validator = new CompanyRowValidator(); validator.ValidateForAddOrUpdate(data); }
public void NameInvalid() { var data = this.Company(); data.Name = StringHelper.NullEmptyWhiteSpace(); var validator = new CompanyRowValidator(); validator.ValidateForAddOrUpdate(data); }
public void NullEntity() { var validator = new CompanyRowValidator(); validator.ValidateForAddOrUpdate(null); }