//********************************************************************************** // PRIVATE HELPERS //********************************************************************************** private DateTime GetActualModifiedUtc() { var header = _jobHeaderService .GetAll() .FirstOrDefault(m => m.ModifiedUtc.HasValue); return(header == null ? DateTime.UtcNow : header.ModifiedUtc.Value); }
//********************************************************************************** // PRIVATE HELPERS //********************************************************************************** private string GetJobId() { var header = _jobHeaderService.GetAll().FirstOrDefault(); return(header == null ? "be9b1ff9-34b2-43bb-bf9a-aec7f77770ee" : header.JobId.ToString()); }
public void GetAll_Demo() { var jobHeaders = _jobHeaderService.GetAll().ToList(); Assert.IsTrue(jobHeaders.Count > 0); }
public static void Setup() { _jobHeaderService = new JobHeaderService(TestApiKey); _jobSummaryService = new JobSummaryService(TestApiKey); _jobHeaders = _jobHeaderService.GetAll(); }