public async Task CorrectNumberOfResultsAreMapped(
            [Frozen] Mock <ISubmissionJobsRepository> repository,
            SubmissionJobsService sut,
            List <LatestSuccessfulJobModel> testJobs,
            short academicYear,
            byte collectionPeriod
            )
        {
            repository.Setup(x => x.GetLatestSuccessfulJobsForCollectionPeriod(academicYear, collectionPeriod))
            .ReturnsAsync(testJobs);

            var actual = await sut.SuccessfulSubmissionsForCollectionPeriod(academicYear, collectionPeriod);

            actual.SuccessfulSubmissionJobs.Should().HaveCount(testJobs.Count);
        }
        public async Task CorrectCombinationOfJobIdAndUkprn_IsCorrectlyMapped(
            [Frozen] Mock <ISubmissionJobsRepository> repository,
            SubmissionJobsService sut,
            List <LatestSuccessfulJobModel> testJobs,
            short academicYear,
            byte collectionPeriod
            )
        {
            repository.Setup(x => x.GetLatestSuccessfulJobsForCollectionPeriod(academicYear, collectionPeriod))
            .ReturnsAsync(testJobs);

            var actual = await sut.SuccessfulSubmissionsForCollectionPeriod(academicYear, collectionPeriod);

            foreach (var job in testJobs)
            {
                actual.SuccessfulSubmissionJobs.Should().ContainEquivalentOf(new { job.Ukprn, JobId = job.DcJobId });
            }
        }