public TechnicianAlert GetTechnicianAlert(int technicianId) { SmartDispatchBL business = new SmartDispatchBL(new SQLRespository()); return business.GetTechnicianAlert(technicianId); }
public void Test_GetTechnicianAlert() { ISmartDispatch dispathBL = new SmartDispatchBL(new SQLRespository()); var alert = dispathBL.GetTechnicianAlert(1); Assert.AreEqual(8, alert.JobId); }