public async Task ThenItShouldReturnLearningProviderWhenMappingEstablishmentToLearningProvider( Establishment source) { source.Trusts = null; source.Federations = null; source.LA.Code = "123"; var actual = await _mapper.MapAsync <LearningProvider>(source, new CancellationToken()); Assert.IsInstanceOf <LearningProvider>(actual); }
public async Task ThenItShouldReturnLearningProviderWhenMappingProviderToLearningProvider(Provider source) { var actual = await _mapper.MapAsync <LearningProvider>(source, new CancellationToken()); Assert.IsInstanceOf <LearningProvider>(actual); }