예제 #1
0
        public void GetSingleEmployeeTest()
        {
            Employee getEmployee = _employeeItem.GetSingleEmployee(_employee.EmployeeId);

            Assert.AreEqual(_employee.EmployeeId, getEmployee.EmployeeId);
            Assert.AreEqual(_employee.FirstName, getEmployee.FirstName);
            Assert.AreEqual(_employee.LastName, getEmployee.LastName);
            Assert.AreEqual(_employee.JobTitle, getEmployee.JobTitle);
            Assert.AreEqual(_employee.BirthDate, getEmployee.BirthDate);
            Assert.AreEqual(_employee.Gender, getEmployee.Gender);
            Assert.AreEqual(_employee.HireDate, getEmployee.HireDate);
            Assert.AreEqual(_employee.DepartmentId, getEmployee.DepartmentId);
        }