public void Arrange()
        {
            _autoFixture = new Fixture();

            _fixture = new WhenPostingEditApprenticeshipDetailsFixture();

            _apprenticeshipResponse = _autoFixture.Build <GetApprenticeshipResponse>()
                                      .With(x => x.CourseCode, _autoFixture.Create <int>().ToString())
                                      .Create();

            _standardVersionResponse = _autoFixture.Build <GetTrainingProgrammeResponse>()
                                       .With(x => x.TrainingProgramme, _autoFixture.Build <TrainingProgramme>()
                                             .With(x => x.Version, "1.0")
                                             .With(x => x.Options, new List <string>())
                                             .Create())
                                       .Create();

            _frameworkResponse = _autoFixture.Create <GetTrainingProgrammeResponse>();
            _frameworkResponse.TrainingProgramme.Version = null;

            _viewModel = _autoFixture.Build <EditApprenticeshipRequestViewModel>()
                         .Without(x => x.StartDate)
                         .Without(x => x.EndDate)
                         .Without(x => x.DateOfBirth)
                         .With(x => x.CourseCode, _apprenticeshipResponse.CourseCode)
                         .Create();

            _viewModel.StartDate = new MonthYearModel(_apprenticeshipResponse.StartDate.ToString("MMyyyy"));

            _fixture.SetUpGetApprenticeship(_apprenticeshipResponse);
        }
 public void Arrange()
 {
     _autoFixture = new Fixture();
     _fixture     = new WhenPostingEditApprenticeshipDetailsFixture();
     _viewModel   = new EditApprenticeshipRequestViewModel();
 }