예제 #1
0
 public override void Given()
 {
     ViewModel = new RequestSoaUniqueLearnerNumberViewModel {
         SearchUln = "1234567891"
     };
     _soaLearnerRecord = new FindSoaLearnerRecord {
         Uln = 1234567891, LearnerName = "Test Name", DateofBirth = DateTime.UtcNow.AddYears(-30), ProviderName = "Provider (1234567)", TlevelTitle = "Title", Status = Common.Enum.RegistrationPathwayStatus.Active
     };
     StatementOfAchievementLoader.FindSoaLearnerRecordAsync(ProviderUkprn, ViewModel.SearchUln.ToLong()).Returns(_soaLearnerRecord);
 }
 public override void Given()
 {
     ViewModel = new RequestSoaUniqueLearnerNumberViewModel {
         SearchUln = "1234567891"
     };
     _soaLearnerRecord = new FindSoaLearnerRecord {
         ProfileId = 11, Uln = 1234567891, LearnerName = "Test Name", DateofBirth = DateTime.UtcNow.AddYears(-30), ProviderName = "Provider (1234567)", TlevelTitle = "Title", Status = Common.Enum.RegistrationPathwayStatus.Withdrawn, HasPathwayResult = false, IndustryPlacementStatus = Common.Enum.IndustryPlacementStatus.NotCompleted, IsIndustryPlacementAdded = true
     };
     StatementOfAchievementLoader.FindSoaLearnerRecordAsync(ProviderUkprn, ViewModel.SearchUln.ToLong()).Returns(_soaLearnerRecord);
 }
예제 #3
0
 public override void Given()
 {
     ViewModel = new RequestSoaUniqueLearnerNumberViewModel { SearchUln = "1234567891" };
     _soaLearnerRecord = null;
     StatementOfAchievementLoader.FindSoaLearnerRecordAsync(ProviderUkprn, ViewModel.SearchUln.ToLong()).Returns(_soaLearnerRecord);
 }