public async Task Then_Caches_Draft_Reservation(
            ReservationsRouteModel routeModel,
            PostSelectCourseViewModel postSelectCourseViewModel)
        {
            //Assign
            postSelectCourseViewModel.SelectedCourseId        = _course.Id;
            postSelectCourseViewModel.ApprenticeTrainingKnown = true;

            //Act
            await _controller.PostSelectCourse(routeModel, postSelectCourseViewModel);

            //Assert
            _mediator.Verify(mediator =>
                             mediator.Send(It.Is <CacheReservationCourseCommand>(command =>
                                                                                 command.SelectedCourseId.Equals(_course.Id)), It.IsAny <CancellationToken>()));
        }
        public async Task WhenApprenticeshipTrainingNotKnown_ThenRedirectsToGuidancePage(
            ReservationsRouteModel routeModel,
            EmployerReservationsController controller,
            PostSelectCourseViewModel postSelectCourseViewModel)
        {
            //Arrange
            postSelectCourseViewModel.ApprenticeTrainingKnown = false;
            var expectedRouteName = RouteNames.EmployerCourseGuidance;

            //Act
            var result = await controller.PostSelectCourse(routeModel, postSelectCourseViewModel) as RedirectToRouteResult;

            //Assert
            Assert.NotNull(result);
            Assert.AreEqual(expectedRouteName, result.RouteName);
        }