public void ShouldDisableEditIfDataLockCourse()
        {
            _model.PendingUpdateOriginator = null;
            _model.PaymentStatus           = PaymentStatus.Active;
            _model.DataLockCourse          = true;

            var viewModel = _mapper.MapApprenticeshipDetails(_model);

            viewModel.EnableEdit.Should().Be(false);
        }
        public void ShouldMapToViewModel()
        {
            var viewModel = _mapper.MapApprenticeshipDetails(_model);

            viewModel.HashedApprenticeshipId.Should().Be("hashed");
            viewModel.FirstName.Should().Be("First name");
            viewModel.LastName.Should().Be("Last name");

            viewModel.DateOfBirth.Should().Be(new DateTime(1998, 12, 08));
            viewModel.Uln.Should().Be("1112223301");
            viewModel.StartDate.Should().BeCloseTo(DateTime.Now.AddMonths(2), 10 * 1000);
            viewModel.StopDate.Should().BeCloseTo(DateTime.Now.AddMonths(6), 10 * 1000);

            viewModel.EndDate.Should().BeCloseTo(DateTime.Now.AddMonths(26), 10 * 1000);
            viewModel.TrainingName.Should().Be("Training name");
            viewModel.Cost.Should().Be(1700);

            viewModel.EmployerName.Should().Be("LegalEntityName");
            viewModel.AccountLegalEntityPublicHashedId.Should().Be("ALEPHI");
            viewModel.CohortReference.Should().Be("hashed");
            viewModel.ProviderReference.Should().Be("Provider ref");
        }