public async Task ResetAsyncTest() { var job = new Job { AppID = AppID, Created = DateTime.Now, Command = JobCommand.Stop }; job = await jobDAL.SetJobAsync(job); Assert.True(!string.IsNullOrWhiteSpace(job.JobID)); await jobDAL.ResetAsync(new List <string> { job.JobID }); var outJob = await jobDAL.GetJobAsync(job.JobID); await jobDAL.DeleteAsync(new List <string> { job.JobID }); Assert.NotNull(outJob); Assert.True(string.IsNullOrWhiteSpace(outJob.Command)); }