public async Task ApprenticeName_IsMapped(PauseRequest request) { var mapper = new PauseRequestToViewModelMapper(mockCommitmentsApiClient.Object); var result = await mapper.Map(request); Assert.AreEqual(ExpectedFullName, result.ApprenticeName); }
public async Task ULN_IsMapped(PauseRequest request) { var mapper = new PauseRequestToViewModelMapper(mockCommitmentsApiClient.Object); var result = await mapper.Map(request); Assert.AreEqual(ExpectedUln, result.ULN); }
public async Task AccountHashedId_IsMapped(PauseRequest request) { var mapper = new PauseRequestToViewModelMapper(mockCommitmentsApiClient.Object); var result = await mapper.Map(request); Assert.AreEqual(request.AccountHashedId, result.AccountHashedId); }