Beispiel #1
0
        public void GetTest()
        {
            if (End)
            {
                return;
            }
            var added = JobHistoryJobService.GetFromIdPair(JobHistory.Id, Job.Id);

            Assert.AreEqual(added.Id, JobHistoryJob.Id);
        }
Beispiel #2
0
        public void RemoveTest()
        {
            if (End)
            {
                return;
            }
            JobHistoryJobService.Remove(JobHistory.Id, Job.Id);
            var removed = JobHistoryJobService.GetFromIdPair(JobHistory.Id, Job.Id);

            Assert.AreEqual(removed.Id, -1);
        }