Exemple #1
0
        public async Task <DraftApprenticeshipControllerTestFixture> EditDraftApprenticeship()
        {
            _modelMapper.Setup(x => x.Map <IDraftApprenticeshipViewModel>(_draftApprenticeshipRequest))
            .ReturnsAsync(_editModel);
            _actionResult = await _controller.ViewEditDraftApprenticeship(_draftApprenticeshipRequest);

            return(this);
        }