public void ValidateForAddOrUpdateOldLastUpdatedOn() { var validate = new ApplicationInfoValidator(); var data = this.ApplicationInfo(); data.LastUpdatedOn = new DateTime(2001, 07, 22); validate.ValidateForAddOrUpdate(data); }
ValidateForAddOrUpdateOldCreatedOn() { var validate = new ApplicationInfoValidator(); var data = this.ApplicationInfo(); data.CreatedOn = new DateTime(2011, 07, 22); validate.ValidateForAddOrUpdate(data); }
public void ValidateForAddOrUpdateEmptyLastUpdatedBy() { var validate = new ApplicationInfoValidator(); var data = this.ApplicationInfo(); data.LastUpdatedBy = Guid.Empty; validate.ValidateForAddOrUpdate(data); }
public void ValidateForAddOrUpdateNull() { var validate = new ApplicationInfoValidator(); validate.ValidateForAddOrUpdate(null); }
public void ValidateForAddOrUpdate() { var validate = new ApplicationInfoValidator(); validate.ValidateForAddOrUpdate(this.ApplicationInfo()); }