public async Task Then_Sort_IsApplied_Correctly(string sortField, bool reverse, string expectedFirstId, string expectedLastId) { var fixture = new WhenMappingDraftRequestToViewModelFixture().WithSortApplied(sortField, reverse); await fixture.Map(); fixture.Verify_Sort_IsApplied(expectedFirstId, expectedLastId); }
public async Task Then_ProviderId_IsMapped() { var fixture = new WhenMappingDraftRequestToViewModelFixture(); await fixture.Map(); fixture.Verify_ProviderId_IsMapped(); }
public async Task Then_DateCreated_IsMapped_Correctly() { var fixture = new WhenMappingDraftRequestToViewModelFixture(); await fixture.Map(); fixture.Verify_DateCreated_Is_Mapped(); }
public async Task Then_Cohort_OrderBy_OnDateCreated_Correctly() { var fixture = new WhenMappingDraftRequestToViewModelFixture(); await fixture.Map(); fixture.Verify_Ordered_By_DateCreatedAscending(); }
public async Task Then_NumberOfApprenticesAreMapped() { var fixture = new WhenMappingDraftRequestToViewModelFixture(); await fixture.Map(); fixture.Verify_NumberOfApprentices_Are_Mapped(); }
public async Task Then_EmployerNameIsMapped() { var fixture = new WhenMappingDraftRequestToViewModelFixture(); await fixture.Map(); fixture.Verify_EmployerName_Is_Mapped(); }
public async Task Then_TheCohortReferenceIsMapped() { var fixture = new WhenMappingDraftRequestToViewModelFixture(); await fixture.Map(); fixture.Verify_CohortReference_Is_Mapped(); }
public async Task OnlyTheCohortsInDraftWithProviderAreMapped() { var fixture = new WhenMappingDraftRequestToViewModelFixture(); await fixture.Map(); fixture.Verify_OnlyTheCohorts_InDraftWithProvider_Are_Mapped(); }