public async Task IssueRepository_GetAllIssueWithDetails_ShouldReturnPagedResult()
        {
            var page = 1;
            var size = 1;

            await using var context = new TimeTrackingDbContext(_dbOptions);
            var issueRepository = new IssueRepository(context);
            var expected        = IssuesDbSet.Get()
                                  .Skip(0)
                                  .Take(size)
                                  .OrderBy(e => e.Id)
                                  .ToList();

            var issues = await issueRepository.GetAllIssueWithDetails(page, size);

            issues.EnsurePagedResult(IssuesDbSet.Get().ToList().Count, size, page);
            var actualItems = issues.Items.ToList();

            Assert.That(actualItems.OrderBy(e => e.Id), Is.EqualTo(expected.OrderBy(e => e.Id))
                        .Using(EqualityComparers.IssueComparer));
        }