Ejemplo n.º 1
0
        public void AssignEmpoyeeModel_InitializeEmployeeViewModel_Correct()
        {
            _employeeDetailsViewModel.AssignEmployeeModel();

            Assert.That(_employeeDetailsViewModel.EmployeeViewModel.Id,
                        Is.EqualTo(_employeeDetailsViewModel.CurrentEmployeeViewModel.Id));
            Assert.That(_employeeDetailsViewModel.EmployeeViewModel.DepartmentId,
                        Is.EqualTo(_employeeDetailsViewModel.CurrentEmployeeViewModel.DepartmentId));
        }