public void Then_Expected_Methods_Called() { RegistrationLoader.Received(1).ProcessBulkRegistrationsAsync(ViewModel); }
public void Then_Expected_Methods_Called() { RegistrationLoader.Received(1).FindUlnAsync(AoUkprn, SearchUln.ToLong()); }
public void Then_Expected_Methods_Called() { RegistrationLoader.Received(1).GetRegistrationDetailsAsync(AoUkprn, ProfileId, _registrationPathwayStatus); }
public void Then_Expected_Methods_Called() { RegistrationLoader.Received(1).GetRegisteredTqAoProviderDetailsAsync(Ukprn); }
public void Then_Expected_Methods_Called() { CacheService.Received(1).GetAsync <RegistrationViewModel>(CacheKey); CacheService.Received(1).SetAsync(CacheKey, Arg.Any <RegistrationViewModel>()); RegistrationLoader.Received(1).FindUlnAsync(Arg.Any <long>(), UlnViewModel.Uln.ToLong()); }
public void Then_ProcessSpecialismChangeAsync_IsCalled() { RegistrationLoader.Received(1).ProcessSpecialismChangeAsync(AoUkprn, Arg.Is <ChangeSpecialismViewModel>(x => x.PathwaySpecialisms.Specialisms.SingleOrDefault(s => s.IsSelected).Id == 11)); }
public void Then_Expected_Methods_Called() { RegistrationLoader.Received(1).GetRegistrationAssessmentAsync(AoUkprn, ProfileId, RegistrationPathwayStatus.Active); }
public void Then_Recieved_Call_To_GetProfile() { RegistrationLoader.Received(1).GetRegistrationProfileAsync <ChangeProviderViewModel>(AoUkprn, ProfileId); }
public void Then_Expected_Methods_Called() { RegistrationLoader.Received(1).AddRegistrationAsync(AoUkprn, registrationModel); CacheService.Received().RemoveAsync <RegistrationViewModel>(CacheKey); }
public void Then_Expected_Methods_Called() { RegistrationLoader.Received(1).GetRegisteredProviderPathwayDetailsAsync(Ukprn, _providerUkprn); }
public void Then_Recieved_Call_To_GetProviderDetails() { RegistrationLoader.Received(1).GetRegisteredTqAoProviderDetailsAsync(AoUkprn); }
public void Then_Expected_Methods_Called() { RegistrationLoader.Received(1).GetPathwaySpecialismsByPathwayLarIdAsync(Ukprn, _coreCode); }
public void Then_Expected_Methods_Called() { RegistrationLoader.Received(1).GetRegistrationChangeCoreQuestionDetailsAsync(AoUkprn, ProfileId); }
public void Then_Expected_Methods_Called() { RegistrationLoader.Received(1).GetRegistrationProfileAsync <ChangeAcademicYearViewModel>(AoUkprn, ProfileId); }
public void Then_Called_Expected_Methods() { RegistrationLoader.Received(1).GetRegistrationProfileAsync <ChangeSpecialismViewModel>(AoUkprn, ProfileId); RegistrationLoader.Received(1).GetPathwaySpecialismsByPathwayLarIdAsync(AoUkprn, mockChangeSpecialismViewModel.CoreCode); }
public void Then_Expected_Methods_Called() { RegistrationLoader.Received(1).GetRegistrationValidationErrorsFileAsync(Ukprn, Id.ToGuid()); }