예제 #1
0
        public void GetTest()
        {
            if (End)
            {
                return;
            }
            var added = JobHistoryCompanyService.GetFromIdPair(JobHistory.Id, Company.Id);

            Assert.AreEqual(added.Id, JobHistoryCompany.Id);
        }
예제 #2
0
        public void RemoveTest()
        {
            if (End)
            {
                return;
            }
            JobHistoryCompanyService.Remove(JobHistory.Id, Company.Id);
            var removed = JobHistoryCompanyService.GetFromIdPair(JobHistory.Id, Company.Id);

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