Exemplo n.º 1
0
        public void AndNoApprenticeshipsThenDontShowCommonFundingCap()
        {
            var apprenticeships = new ApprenticeshipListItemViewModel[0];

            var group = new ApprenticeshipListItemGroupViewModel(apprenticeships, _testTrainingProgramme);

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

            var group = new ApprenticeshipListItemGroupViewModel(apprenticeships, _testTrainingProgramme);

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