Пример #1
0
        public void Arrange()
        {
            _mapper = new ApprenticeshipInfoServiceMapper();

            _framework = new Framework
            {
                Id             = "1",
                Title          = "TestTitle",
                FrameworkName  = "TestFrameworkName",
                PathwayName    = "TestPathwayName",
                Level          = 1,
                MaxFunding     = 1000, //this is to become redundant
                EffectiveFrom  = new DateTime(2017, 05, 01),
                EffectiveTo    = new DateTime(2020, 7, 31),
                FundingPeriods = new List <FundingPeriod>
                {
                    new FundingPeriod {
                        EffectiveFrom = new DateTime(2017, 05, 01), EffectiveTo = new DateTime(2018, 12, 31), FundingCap = 5000
                    },
                    new FundingPeriod {
                        EffectiveFrom = new DateTime(2019, 01, 01), EffectiveTo = new DateTime(2020, 7, 31), FundingCap = 2000
                    }
                }
            };
        }