public void Finds_datalocks2_when_provider_has_multiple_earnings()
        {
            var a = new ApprenticeshipBuilder()
                    .ForProgramme(episodes: e => e.WithPriceFromTnp1And2(10, 10))
                    .WithFunctionalSkills();

            var sut = a.CreateLearnerReport();

            sut.CollectionPeriods.First()
            .Should().BeEquivalentTo(new
            {
                Ilr = new { Cost = 20 },
            });
        }
        public void Finds_datalocks2_when_apprenticeship_is_missing()
        {
            var a = new ApprenticeshipBuilder()
                    .ForMissingLearner(uln: 22);

            var sut = a.CreateLearnerReport();

            sut.CollectionPeriods.Should().NotBeEmpty();
            sut.CollectionPeriods.First()
            .Should().BeEquivalentTo(new
            {
                Apprenticeship = (DataMatch?)null,
                Ilr            = new { Uln = 22 },
                DataLocks      = new[] { DataLock.Dlock02 },
            });
        }