public void WorkflowDto_Property_Employees() { var workflow = new WorkflowDto(); var value = TestHelper.EmployeeDtos(); workflow.Employees = value; Assert.IsNotNull(workflow.Employees); Assert.IsInstanceOfType(workflow.Employees, typeof(List <EmployeeDto>)); Assert.AreEqual(value, workflow.Employees); }
public void OrganizationDepartmentDto_Property_Employees() { var organizationDepartment = new OrganizationDepartmentDto(); var value = TestHelper.EmployeeDtos(); organizationDepartment.Employees = value; Assert.IsNotNull(organizationDepartment.Employees); Assert.IsInstanceOfType(organizationDepartment.Employees, typeof(List <EmployeeDto>)); Assert.AreEqual(value, organizationDepartment.Employees); }