public async Task ThenMapsOrigin( ConfirmProviderViewModel request, SelectProviderViewModelFromConfirmProviderMapper mapper) { var result = await mapper.Map(request); Assert.AreEqual(request.ReservationId.HasValue ? Origin.Reservations : Origin.Apprentices, result.Origin); }
public async Task ThenMapsTransferSenderId( ConfirmProviderViewModel request, SelectProviderViewModelFromConfirmProviderMapper mapper) { var result = await mapper.Map(request); Assert.AreEqual(request.TransferSenderId, result.TransferSenderId); }
public async Task ThenMapsStartMonthYear( ConfirmProviderViewModel request, SelectProviderViewModelFromConfirmProviderMapper mapper) { var result = await mapper.Map(request); Assert.AreEqual(request.StartMonthYear, result.StartMonthYear); }
public async Task ThenMapsEmployerAccountLegalEntityPublicHashedId( ConfirmProviderViewModel request, SelectProviderViewModelFromConfirmProviderMapper mapper) { var result = await mapper.Map(request); Assert.AreEqual(request.AccountLegalEntityHashedId, result.AccountLegalEntityHashedId); }
public async Task ThenMapsCourseCode( ConfirmProviderViewModel request, SelectProviderViewModelFromConfirmProviderMapper mapper) { var result = await mapper.Map(request); Assert.AreEqual(request.CourseCode, result.CourseCode); }