Exemple #1
0
        public void AndNoApprenticeshipsThenDontShowCommonFundingCap()
        {
            var apprenticeships = new ApprenticeshipListItemViewModel[0];

            var group = new ApprenticeshipListItemGroupViewModel(apprenticeships, _testTrainingProgramme);

            Assert.AreEqual(false, group.ShowCommonFundingCap);
        }
Exemple #2
0
        public void AndNoApprenticeshipsThenThereIsNoCommonFundingCap()
        {
            var apprenticeships = new ApprenticeshipListItemViewModel[0];

            var group = new ApprenticeshipListItemGroupViewModel(apprenticeships, _testTrainingProgramme);

            Assert.AreEqual(null, group.CommonFundingCap);
        }