public async Task Then_NumberOfApprenticesAreMapped() { var fixture = new WhenMappingChooseCohortViewModelFixture(); await fixture.Map(); fixture.Verify_NumberOfApprentices_Are_Mapped(); }
public async Task Then_By_Default_Cohort_Should_Be_OrderBy_OnDateCreated_Descending_Correctly() { var fixture = new WhenMappingChooseCohortViewModelFixture(); await fixture.Map(); fixture.Verify_Ordered_By_DateCreatedDescending(); }
public async Task Then_EmployerNameIsMapped() { var fixture = new WhenMappingChooseCohortViewModelFixture(); await fixture.Map(); fixture.Verify_EmployerName_Is_Mapped(); }
public async Task Then_TheCohortReferenceIsMapped() { var fixture = new WhenMappingChooseCohortViewModelFixture(); await fixture.Map(); fixture.Verify_CohortReference_Is_Mapped(); }
public async Task OnlyCohortsNotRelatedToChangeOfPartyAreMapped() { var fixture = new WhenMappingChooseCohortViewModelFixture(); await fixture.Map(); fixture.Verify_Cohorts_InDraftWithProvider_Are_Mapped(); }
public async Task CohortsInDraftWithProviderAreMapped() { var fixture = new WhenMappingChooseCohortViewModelFixture(); await fixture.Map(); fixture.Verify_Cohorts_InDraftWithProvider_Are_Mapped(); }
public void Then_AccountLegalEntityPublicHashedId_IsMapped() { var fixture = new WhenMappingChooseCohortViewModelFixture(); fixture.Map(); fixture.Verify_AccountLegalEntityPublicHashedId_IsMapped(); }
public void Then_ProviderId_IsMapped() { var fixture = new WhenMappingChooseCohortViewModelFixture(); fixture.Map(); fixture.Verify_ProviderId_IsMapped(); }
public async Task Then_Cohort_Ordered_By_StatusDescending_Correctly() { var fixture = new WhenMappingChooseCohortViewModelFixture(); fixture.ChooseCohortByProviderRequest.SortField = nameof(ChooseCohortSummaryViewModel.Status); fixture.ChooseCohortByProviderRequest.ReverseSort = true; await fixture.Map(); fixture.Verify_Ordered_By_StatusDescending(); }