public async Task Then_ProviderId_IsMapped()
        {
            var fixture = new WhenMappingWithEmployerToViewModelFixture();
            await fixture.Map();

            fixture.Verify_ProviderId_IsMapped();
        }
        public async Task Then_DateSentToEmployer_IsMapped_Correctly()
        {
            var fixture = new WhenMappingWithEmployerToViewModelFixture();
            await fixture.Map();

            fixture.Verify_DateSentToEmployer_Is_Mapped();
        }
        public async Task Then_Cohort_OrderBy_OnDateCreated_Correctly()
        {
            var fixture = new WhenMappingWithEmployerToViewModelFixture();
            await fixture.Map();

            fixture.Verify_Ordered_By_Correctly();
        }
        public async Task Then_NumberOfApprenticesAreMapped()
        {
            var fixture = new WhenMappingWithEmployerToViewModelFixture();
            await fixture.Map();

            fixture.Verify_NumberOfApprentices_Are_Mapped();
        }
        public async Task Then_LastMessage_IsMapped_Correctly()
        {
            var fixture = new WhenMappingWithEmployerToViewModelFixture();
            await fixture.Map();

            fixture.Verify_LastMessage_Is_MappedCorrectly();
        }
        public async Task Then_EmployerNameIsMapped()
        {
            var fixture = new WhenMappingWithEmployerToViewModelFixture();
            await fixture.Map();

            fixture.Verify_EmployerName_Is_Mapped();
        }
        public async Task Then_TheCohortReferenceIsMapped()
        {
            var fixture = new WhenMappingWithEmployerToViewModelFixture();
            await fixture.Map();

            fixture.Verify_CohortReference_Is_Mapped();
        }
        public async Task OnlyTheCohortsReadyForWithEmployerAreMapped()
        {
            var fixture = new WhenMappingWithEmployerToViewModelFixture();
            await fixture.Map();

            fixture.Verify_OnlyTheCohorts_WithEmployer_Are_Mapped();
        }
        public async Task Then_Sort_IsApplied_Correctly(string sortField, bool reverse, string expectedFirstId, string expectedLastId)
        {
            var fixture = new WhenMappingWithEmployerToViewModelFixture().WithSortApplied(sortField, reverse);
            await fixture.Map();

            fixture.Verify_Sort_IsApplied(expectedFirstId, expectedLastId);
        }
示例#10
0
        public void Then_ProviderId_IsMapped()
        {
            var fixture = new WhenMappingWithEmployerToViewModelFixture();

            _ = fixture.Map();

            fixture.Verify_ProviderId_IsMapped();
        }