Exemple #1
0
        public async Task ApprenticeName_IsMapped(PauseRequest request)
        {
            var mapper = new PauseRequestToViewModelMapper(mockCommitmentsApiClient.Object);
            var result = await mapper.Map(request);

            Assert.AreEqual(ExpectedFullName, result.ApprenticeName);
        }
Exemple #2
0
        public async Task ULN_IsMapped(PauseRequest request)
        {
            var mapper = new PauseRequestToViewModelMapper(mockCommitmentsApiClient.Object);
            var result = await mapper.Map(request);

            Assert.AreEqual(ExpectedUln, result.ULN);
        }
Exemple #3
0
        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);
        }