public void GetAllEmployees()
        {
            RepositoryMock   respository = new RepositoryMock();
            EmployeeProvider provider    = new EmployeeProvider(respository);

            List <Employee> employeeList = provider.GetAllEmployees(null);

            Assert.IsTrue(employeeList.Count > 0);
            Assert.IsTrue(employeeList.Count == 3);
        }
        public void GetAllEmployeesValidateHourlySalary()
        {
            RepositoryMock   respository = new RepositoryMock();
            EmployeeProvider provider    = new EmployeeProvider(respository);

            //id 2 is an employee with this salary type
            List <Employee> employeeList = provider.GetAllEmployees(2);

            Assert.IsTrue(employeeList.Count > 0);
            Assert.IsTrue(employeeList.Count == 1);
            Assert.IsTrue(employeeList.First().Salary == 64800);
        }