public static FieldVisit Create(TreatmentBMP treatmentBMP) { var person = TestPerson.Create(); var fieldVisit = new FieldVisit(treatmentBMP, FieldVisitStatus.InProgress, person, DateTime.Now, false, FieldVisitType.DryWeather, false); return(fieldVisit); }
public static ProjectUpdateBatch Create(Project project) { var person = TestPerson.Create(); var projectUpdateBatch = new ProjectUpdateBatch(project, DateTime.Now, person, ProjectUpdateState.Created, false); return(projectUpdateBatch); }
public static FirmaSession Create() { var tenant = TestTenant.Get(); var person = TestPerson.Create(tenant); var firmaSession = new FirmaSession(null, person); return(firmaSession); }
public static Invoice Create() { var testPerson = TestPerson.Create(); var invoice = new Invoice(TestFramework.MakeTestName("RequestorName", Invoice.FieldLengths.RequestorName), DateTime.Now, testPerson, InvoiceApprovalStatus.Approved, false, InvoiceMatchAmountType.N_A, InvoiceStatus.Pending); return(invoice); }