public List<JobRescheduleDetail> GetAllRescheduleJobs() { SmartDispatchBL business = new SmartDispatchBL(new SQLRespository()); return business.GetAllRescheduleJobs(); }
public void Test_GetAllRescheduleJobs() { ISmartDispatch dispathBL = new SmartDispatchBL(new SQLRespository()); var jobs = dispathBL.GetAllRescheduleJobs(); Assert.AreEqual(1, jobs.Count); }