public async Task ShouldGetDeptHistoriesForEachEmployee(int employeeID, int numberOfRecords) { var departmentHistoryParameters = new DepartmentHistoryParameters { PageNumber = 1, PageSize = 10 }; var records = await _deptHistoryRepo.GetDepartmentHistories(employeeID, departmentHistoryParameters); var count = records.Count; Assert.Equal(count, numberOfRecords); }