public void AndNoApprenticeshipsThenDontShowCommonFundingCap() { var apprenticeships = new ApprenticeshipListItemViewModel[0]; var group = new ApprenticeshipListItemGroupViewModel(apprenticeships, _testTrainingProgramme); Assert.AreEqual(false, group.ShowCommonFundingCap); }
public void AndNoApprenticeshipsThenThereIsNoCommonFundingCap() { var apprenticeships = new ApprenticeshipListItemViewModel[0]; var group = new ApprenticeshipListItemGroupViewModel(apprenticeships, _testTrainingProgramme); Assert.AreEqual(null, group.CommonFundingCap); }