public void ThenReturnsView()
        {
            var fixture = new WhenGettingSelectAddDraftApprenticeshipJourneyFixture();

            var result = fixture.Act();

            result.VerifyReturnsViewModel();
        }
        public void ThenProviderIdIsMapped()
        {
            var fixture = new WhenGettingSelectAddDraftApprenticeshipJourneyFixture();

            var viewResult = fixture.Act();

            var model = viewResult.VerifyReturnsViewModel().WithModel <SelectAddDraftApprenticeshipJourneyViewModel>();

            Assert.AreEqual(fixture.ProviderId, model.ProviderId);
        }
        public void ThenFeatureToggleIsMapped(bool toggleValue, bool expectedValue)
        {
            var fixture = new WhenGettingSelectAddDraftApprenticeshipJourneyFixture();

            if (toggleValue)
            {
                fixture.WithBulkUploadV2FeatureEnabled();
            }

            var viewResult = fixture.Act();

            var model = viewResult.VerifyReturnsViewModel().WithModel <SelectAddDraftApprenticeshipJourneyViewModel>();

            Assert.AreEqual(expectedValue, model.IsBulkUploadV2Enabled);
        }