Exemplo n.º 1
0
        public async Task GetJobViewAsyncTest()
        {
            var jobID = await jobDAL.AddAsync(AppID, "", "", "", () => Console.WriteLine("Hello World Test!"));

            var job = await jobDAL.GetJobViewAsync(jobID);

            await jobDAL.DeleteAsync(new List <string> {
                jobID
            });

            Assert.IsType <JobView>(job);
            Assert.Equal(jobID, job.JobID);
        }