public void LARSStandardApprenticeshipFundingFromEntity()
        {
            var entity = new LARS_ApprenticeshipFunding()
            {
                EffectiveFrom      = new DateTime(2017, 1, 1),
                EffectiveTo        = new DateTime(2018, 1, 1),
                ApprenticeshipType = "STD",
                ApprenticeshipCode = 1,
                ProgType           = 3,
                PwayCode           = 0,
            };

            var larsApprenticeshipFunding = NewService().LARSStandardApprenticeshipFundingFromEntity(entity);

            larsApprenticeshipFunding.EffectiveFrom.Should().Be(entity.EffectiveFrom);
            larsApprenticeshipFunding.EffectiveTo.Should().Be(entity.EffectiveTo);
            larsApprenticeshipFunding.ApprenticeshipType.Should().Be(entity.ApprenticeshipType);
            larsApprenticeshipFunding.ApprenticeshipCode.Should().Be(entity.ApprenticeshipCode);
            larsApprenticeshipFunding.ProgType.Should().Be(entity.ProgType);
            larsApprenticeshipFunding.PwayCode.Should().Be(entity.PwayCode);
        }
 public LARSFrameworkApprenticeshipFunding LARSFrameworkApprenticeshipFundingFromEntity(LARS_ApprenticeshipFunding entity)
 {
     return(new LARSFrameworkApprenticeshipFunding
     {
         ApprenticeshipCode = entity.ApprenticeshipCode,
         ApprenticeshipType = entity.ApprenticeshipType,
         BandNumber = entity.BandNumber,
         CareLeaverAdditionalPayment = entity.CareLeaverAdditionalPayment,
         ProgType = entity.ProgType,
         PwayCode = entity.PwayCode,
         FundingCategory = entity.FundingCategory,
         EffectiveFrom = entity.EffectiveFrom,
         EffectiveTo = entity.EffectiveTo,
         CoreGovContributionCap = entity.CoreGovContributionCap,
         SixteenToEighteenIncentive = entity.C1618Incentive,
         SixteenToEighteenProviderAdditionalPayment = entity.C1618ProviderAdditionalPayment,
         SixteenToEighteenEmployerAdditionalPayment = entity.C1618EmployerAdditionalPayment,
         SixteenToEighteenFrameworkUplift = entity.C1618FrameworkUplift,
         Duration = entity.Duration,
         ReservedValue2 = entity.ReservedValue2,
         ReservedValue3 = entity.ReservedValue3,
         MaxEmployerLevyCap = entity.MaxEmployerLevyCap,
         FundableWithoutEmployer = entity.FundableWithoutEmployer
     });
 }