public void secretaryLogin() { secretary secretary = new secretary(id); teachingStaffMenu secretaryMenu = new teachingStaffMenu(secretary); Assert.IsTrue(secretary is secretary && secretaryMenu is teachingStaffMenu); }
public void adminLogin() { admin admin = new admin(id); teachingStaffMenu adminMenu = new teachingStaffMenu(admin); Assert.IsTrue(admin is admin && adminMenu is teachingStaffMenu); }
public void instructorLogin() { instructor instructor = new instructor(id); teachingStaffMenu instructorMenu = new teachingStaffMenu(instructor); Assert.IsTrue(instructor is instructor && instructorMenu is teachingStaffMenu); }
public void professorLogin() { professor professor = new professor(id); teachingStaffMenu professorMenu = new teachingStaffMenu(professor); Assert.IsTrue(professor is professor && professorMenu is teachingStaffMenu); }
public void instructorLogoff() { instructor instructor = new instructor(id); teachingStaffMenu instructorMenu = new teachingStaffMenu(instructor); instructorMenu.Close(); Assert.IsNotNull(instructorMenu); }
public void professorLogoff() { professor professor = new professor(id); teachingStaffMenu professorMenu = new teachingStaffMenu(professor); professorMenu.Close(); Assert.IsNotNull(professorMenu); }