public void create_job_detail_key_group_fams3() { var result = PersonToSearchJobDetail.CreateJobDetail(); Assert.AreEqual(result.Key.Group, "FAMS3"); }
public void create_job_detail() { var result = PersonToSearchJobDetail.CreateJobDetail(); Assert.IsInstanceOf <IJobDetail>(result); }
public void create_job_detail_key_name_of_job_class() { var result = PersonToSearchJobDetail.CreateJobDetail(); Assert.AreEqual(result.Key.Name, "PersonToSearchJob"); }
public async Task <DateTimeOffset> Schedule() { return(await _schedulerService.ScheduleJob(PersonToSearchJobDetail.CreateJobDetail(), trigger.CreateTrigger())); }