public void TestCleanup()
 {
     if (File.Exists(employeepath))
     {
         File.Delete(employeepath);
     }
     employees = null;
     EmployeeBook.ClearInstance();
 }
        public void TestInit()
        {
            employees = EmployeeBook.Instance();
            Employee emp = new Employee()
            {
                EmpId       = 100,
                EmpName     = "userAlreadyPresent",
                EmpHourRate = 25
            };

            employees.Add(emp);
            employees.Save(employeepath);
        }
            public void TestInit()
            {
                timeSheet   = new TimeSheet();
                employees   = EmployeeBook.Instance();
                weekDetails = new WorkWeekDetails();

                Employee emp = new Employee()
                {
                    EmpId       = 1,
                    EmpName     = "NewUser",
                    EmpHourRate = 25
                };

                employees.Add(emp);
            }
            public void TestCleanup()
            {
                if (File.Exists(timesheetpath))
                {
                    File.Delete(timesheetpath);
                }

                if (File.Exists(employeepath))
                {
                    File.Delete(employeepath);
                }

                timeSheet = null;
                employees = null;
            }
            public void TestCleanup()
            {
                if (File.Exists(timesheetpath))
                {
                    File.Delete(timesheetpath);
                }

                if (File.Exists(employeepath))
                {
                    File.Delete(employeepath);
                }

                timeSheet   = null;
                employees   = null;
                weekDetails = null;
                EmployeeBook.ClearInstance();
            }
            public void TestInit()
            {
                timeSheet = new TimeSheet();

                if (File.Exists(timesheetpath))
                {
                    timeSheet.TimeSheetLoad(timesheetpath);
                }

                employees = EmployeeBook.Instance();
                Employee emp = new Employee()
                {
                    EmpId       = 1,
                    EmpName     = "NewUser",
                    EmpHourRate = 25
                };

                employees.Add(emp);
            }