public void ThreadIdNegative() { var validate = new OccurrenceDataValidator(); var data = this.Occurrence(); data.ThreadId = -123; validate.ValidateForAdd(data); }
public void DurationNegative() { var validate = new OccurrenceDataValidator(); var data = this.Occurrence(); data.Duration = -1211; validate.ValidateForAdd(data); }
public void DeploymentIdTooLong() { var validate = new OccurrenceDataValidator(); var data = this.Occurrence(); data.DeploymentId = StringHelper.LongerThanMaximumRowLength(); validate.ValidateForAdd(data); }
public void MethodNameTooLong() { var validate = new OccurrenceDataValidator(); var data = this.Occurrence(); data.MethodName = StringHelper.LongerThanMaximumRowLength(); validate.ValidateForAdd(data); }
public void Null() { var validate = new OccurrenceDataValidator(); validate.ValidateForAdd(null); }
public void Valid() { var validate = new OccurrenceDataValidator(); validate.ValidateForAdd(this.Occurrence()); }